1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-03-22 11:02:02 +01:00

Add arg to parse for static url

This commit is contained in:
prieto 2016-09-22 17:12:08 +02:00
commit 7047a70ac9

View file

@ -455,6 +455,9 @@ def get_parser():
actions.add_argument('-m', '--make', metavar='TARGET', type=str, actions.add_argument('-m', '--make', metavar='TARGET', type=str,
nargs="?", default='not', nargs="?", default='not',
help='Run make for selected instances') help='Run make for selected instances')
actions.add_arguments('-s', '--static_url', type=str, nargs="?",
default='http://127.0.0.1/static/', metavar='static_url',
help='Set an url for static documents')
actions.add_argument('--nginx-conf', action='store_const', actions.add_argument('--nginx-conf', action='store_const',
default = False, const=True, default = False, const=True,
help="Output a conf for nginx given selected instances") help="Output a conf for nginx given selected instances")