Browse Source

Print inema version

master
Georg Sauthoff 2 years ago
parent
commit
e72514697c
  1. 6
      inema/frank.py

6
inema/frank.py

@ -189,12 +189,18 @@ It's also fine to delimit the recipient lines with newline characters.
help='update internal format list via webservice')
p.add_argument('--print', action='store_true', default=False,
help='Print the retrieved PDF with the lpr command')
p.add_argument('--version', '-v', action='store_true',
help='Display inema package version')
return p
def parse_args(*xs):
arg_parser = mk_arg_parser()
args = arg_parser.parse_args(*xs)
if args.version:
print(inema.__version__)
sys.exit(0)
if args.debug:
setup_file_logging(args.debug)
if not args.config:

Loading…
Cancel
Save