We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97049c2 commit 56bba41Copy full SHA for 56bba41
src/blurb/blurb.py
@@ -744,9 +744,7 @@ def get_subcommand(subcommand):
744
745
@subcommand
746
def version():
747
- """
748
-Print blurb version.
749
+ """Print blurb version."""
750
print("blurb version", __version__)
751
752
@@ -825,10 +823,10 @@ def help(subcommand=None):
825
823
print(doc)
826
824
sys.exit(0)
827
828
-# Make "blurb --help" work.
+# Make "blurb --help/--version/-V" work.
829
subcommands["--help"] = help
830
subcommands["--version"] = version
831
-subcommands["-v"] = version
+subcommands["-V"] = version
832
833
834
0 commit comments