From e93cd6b08af7c12197ec03a0dc98137a2f8f83c7 Mon Sep 17 00:00:00 2001 From: Jenny Danzmayr Date: Sat, 28 Dec 2019 19:01:19 +0100 Subject: [PATCH] tools/locate.py: made metavar for instance more clear, hopefully... --- tools/locate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/locate.py b/tools/locate.py index 955ce62d..025034cc 100644 --- a/tools/locate.py +++ b/tools/locate.py @@ -81,7 +81,7 @@ if __name__ == '__main__': parser = argparse.ArgumentParser( description='locate yourself via the c3nav api and optionally update the coordinates of a custom position ' 'in c3nav') - parser.add_argument('--instance', '-i', metavar='https://event.c3nave.de', + parser.add_argument('--instance', '-i', metavar='https://${event}.c3nav.de', required=not bool(os.environ.get('C3NAV_INSTANCE', False)), default=os.environ.get('C3NAV_INSTANCE'), help='The base url of the c3nav instance to use, for example https://36c3.c3nav.de.')