Commit 285447e6 authored by PizZaKatZe's avatar PizZaKatZe

Add default for JHT homepage URL

parent fd20e0cf
......@@ -34,17 +34,17 @@ def parse_arguments(args):
help='day of month (default: 28)')
parser.add_argument('-l', '--links', action='store_true',
help='generate QR codes with links to sessions\'s wiki pages')
parser.add_argument('-m', '--homepage',
parser.add_argument('-m', '--homepage', default='https://junghack.de',
help='JHT homepage URL')
parser.add_argument('-p', '--print',
help='print filtered data of session with index PRINT, starting at 1; ' +
help='print filtered data of session with index PRINT, starting at 1; '
'0 prints all sessions')
parser.add_argument('output', nargs='?',
help='path to output file; if omitted raw PDF data is written to stdout')
sources = parser.add_argument_group('data sources').add_mutually_exclusive_group(required=True)
sources.add_argument('-u', '--url', nargs='?', const=TEST_URL,
help='URL to fetch JSON data from; ' +
help='URL to fetch JSON data from; '
'if URL is omitted, a hard-coded URL returning test data is used')
sources.add_argument('-f', '--file', dest='path',
help='path to file containing JSON data')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment