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:
parent
d3793bcf17
commit
7047a70ac9
1 changed files with 3 additions and 0 deletions
|
|
@ -455,6 +455,9 @@ def get_parser():
|
|||
actions.add_argument('-m', '--make', metavar='TARGET', type=str,
|
||||
nargs="?", default='not',
|
||||
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',
|
||||
default = False, const=True,
|
||||
help="Output a conf for nginx given selected instances")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue