We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e94aaa9 commit 36abd58Copy full SHA for 36abd58
funk
@@ -48,12 +48,15 @@ parser = ArgumentParser( prog = prog,
48
epilog = epilog,
49
formatter_class = RawTextHelpFormatter,
50
add_help = False)
51
-parser.add_argument('--version', action='version', version='%(prog)s 1.0')
+
52
optinout = parser.add_argument_group( style.host("General options"),
53
"Define mode and controls I/O.")
54
optinout.add_argument("-h", "--help",
55
action = "help",
56
help = "show this help message and exit")
57
+optinout.add_argument('--version',
58
+ action='version',
59
+ version='%(prog)s 1.0')
60
optinout.add_argument("-m", "--mode",
61
dest = "mode",
62
default = 'date',
0 commit comments