support -V, --version

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 13 years ago
parent 5260f230e5
commit 8f34f8659b
  1. 1
      bin/cdist

@ -614,6 +614,7 @@ if __name__ == "__main__":
parser.add_argument('-V', '--version', help='Show version',
action='version', version='%(prog)s ' + VERSION)
arser.add_argument('--foo', nargs=2)
args = parser.parse_args(sys.argv[1:])
if args.debug:

Loading…
Cancel
Save