Skip to content

Commit

Permalink
Fix sos run script -h #976
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo Peng committed May 29, 2018
1 parent 850aa75 commit 1cb8776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2380,7 +2380,7 @@ def main():
try:
from .parser import SoS_Script
script = SoS_Script(filename=sys.argv[2])
script.print_help()
script.print_help(sys.argv[2])
sys.exit(0)
except Exception as e:
sys.exit('No help information is available for script {}: {}'.format(
Expand Down

0 comments on commit 1cb8776

Please sign in to comment.