Show help screens for hw-diags and ddrescue-tui

This commit is contained in:
2Shirt 2021-04-09 18:51:32 -06:00
parent 66bf189e55
commit 0ed814786a
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 18 additions and 0 deletions

View file

@ -4,8 +4,17 @@
import wk
from docopt import docopt
if __name__ == '__main__':
try:
docopt(wk.hw.ddrescue.DOCSTRING)
except SystemExit:
print('')
wk.std.pause('Press Enter to exit...')
raise
try:
wk.hw.ddrescue.main()
except SystemExit:

View file

@ -4,8 +4,17 @@
import wk
from docopt import docopt
if __name__ == '__main__':
try:
docopt(wk.hw.diags.DOCSTRING)
except SystemExit:
print('')
wk.std.pause('Press Enter to exit...')
raise
try:
wk.hw.diags.main()
except SystemExit: