Skip to content

Commit

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

0 comments on commit 850aa75

Please sign in to comment.