Show help screens for hw-diags and ddrescue-tui
This commit is contained in:
parent
66bf189e55
commit
0ed814786a
2 changed files with 18 additions and 0 deletions
|
|
@ -4,8 +4,17 @@
|
||||||
|
|
||||||
import wk
|
import wk
|
||||||
|
|
||||||
|
from docopt import docopt
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
docopt(wk.hw.ddrescue.DOCSTRING)
|
||||||
|
except SystemExit:
|
||||||
|
print('')
|
||||||
|
wk.std.pause('Press Enter to exit...')
|
||||||
|
raise
|
||||||
|
|
||||||
try:
|
try:
|
||||||
wk.hw.ddrescue.main()
|
wk.hw.ddrescue.main()
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,17 @@
|
||||||
|
|
||||||
import wk
|
import wk
|
||||||
|
|
||||||
|
from docopt import docopt
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
docopt(wk.hw.diags.DOCSTRING)
|
||||||
|
except SystemExit:
|
||||||
|
print('')
|
||||||
|
wk.std.pause('Press Enter to exit...')
|
||||||
|
raise
|
||||||
|
|
||||||
try:
|
try:
|
||||||
wk.hw.diags.main()
|
wk.hw.diags.main()
|
||||||
except SystemExit:
|
except SystemExit:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue