comparison scripts/getan-report @ 551:d44ee9cd7261

Overworked standard database transfer parameter
author Magnus Schieder <mschieder@intevation.de>
date Wed, 12 Feb 2020 13:10:44 +0100
parents 28b1c18c900f
children e7b36e596751
comparison
equal deleted inserted replaced
550:28b1c18c900f 551:d44ee9cd7261
25 usage='getan-report [options]' 25 usage='getan-report [options]'
26 parser = argparse.ArgumentParser(prog='getan', usage=usage, 26 parser = argparse.ArgumentParser(prog='getan', usage=usage,
27 description="You can find more information at https://pypi.org/project/getan/") 27 description="You can find more information at https://pypi.org/project/getan/")
28 28
29 parser.add_argument('-d', '--database', metavar="DATABASE_FILE", 29 parser.add_argument('-d', '--database', metavar="DATABASE_FILE",
30 help='(default: ~/.getan/%(default)s)]', 30 help='(default: ~/.getan/'+ DEFAULT_DATABASE + ")")
31 default=DEFAULT_DATABASE)
32 parser.add_argument('-t', '--template', 31 parser.add_argument('-t', '--template',
33 help="""name of getan template (wochenbericht, 32 help="""name of getan template (wochenbericht,
34 zeiterfassung, zeiterfassung2), 33 zeiterfassung, zeiterfassung2),
35 external templates must be stored in 34 external templates must be stored in
36 ~/.getan/templates/ to be able to call them.""") 35 ~/.getan/templates/ to be able to call them.""")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)