diff --git a/src/blurb/blurb.py b/src/blurb/blurb.py index 27c3e3d..faefd10 100755 --- a/src/blurb/blurb.py +++ b/src/blurb/blurb.py @@ -744,9 +744,7 @@ def get_subcommand(subcommand): @subcommand def version(): - """ -Print blurb version. - """ + """Print blurb version.""" print("blurb version", __version__) @@ -825,10 +823,10 @@ def help(subcommand=None): print(doc) sys.exit(0) -# Make "blurb --help" work. +# Make "blurb --help/--version/-V" work. subcommands["--help"] = help subcommands["--version"] = version -subcommands["-v"] = version +subcommands["-V"] = version @subcommand