Skip to content

Commit

Permalink
RF: show only the version, without license, upon --version
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Aug 3, 2018
1 parent cce8cf5 commit 8063d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datalad/cmdline/common_args.py
Expand Up @@ -29,7 +29,7 @@
version = (
'version', ('--version',),
dict(action='version',
help="show the program's version and license information")
help="show the program's version")
)

_log_level_names = ['critical', 'error', 'warning', 'info', 'debug']
Expand Down
2 changes: 1 addition & 1 deletion datalad/cmdline/main.py
Expand Up @@ -118,7 +118,7 @@ def setup_parser(
helpers.parser_add_common_opt(
parser,
'version',
version='datalad %s\n\n%s' % (datalad.__version__, _license_info()))
version='datalad %s\n' % (datalad.__version__))
if __debug__:
parser.add_argument(
'--dbg', action='store_true', dest='common_debug',
Expand Down

0 comments on commit 8063d96

Please sign in to comment.