Skip to content

Commit

Permalink
print help by default
Browse files Browse the repository at this point in the history
  • Loading branch information
trislett committed Feb 6, 2018
1 parent 8ddaa47 commit 968cba1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion bin/tm_multimodal
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,8 @@ parser.add_argument('--verbosehelp', action=_HelpAction, help='Display help for
parser.add_argument('--usage', action=_Usage, help='Display usage for sub-command.') # printout usage

args = parser.parse_args()
args.func(args)
try:
args.func(args)
except:
parser.print_help()

5 changes: 4 additions & 1 deletion bin/tm_tools
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,8 @@ parser.add_argument('--verbosehelp', action=_HelpAction, help='Display help for
parser.add_argument('--usage', action=_Usage, help='Display usage for sub-command.') # add printout usage

args = parser.parse_args()
args.func(args)
try:
args.func(args)
except:
parser.print_help()

2 changes: 1 addition & 1 deletion tfce_mediation/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.2'
__version__ = '1.5.0'

0 comments on commit 968cba1

Please sign in to comment.