Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af1532 commit 47b6e69Copy full SHA for 47b6e69
1 file changed
lib/parse/cmdline.py
@@ -696,7 +696,12 @@ def cmdLineParser():
696
if not found:
697
parser.option_groups.remove(group)
698
699
- (args, _) = parser.parse_args(args)
+ try:
700
+ (args, _) = parser.parse_args(args)
701
+ except SystemExit:
702
+ if '-h' in sys.argv:
703
+ print "\n[!] to see full list of options run with '-hh'"
704
+ raise
705
706
# Expand given mnemonic options (e.g. -z "ign,flu,bat")
707
for i in xrange(len(sys.argv) - 1):
0 commit comments