mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #1967 from NathanHarrington/config_reload
Add default settings file name to argparse. Fixes #1966
This commit is contained in:
commit
d6ac93a470
1 changed files with 1 additions and 0 deletions
|
|
@ -277,6 +277,7 @@ def parse_arguments():
|
|||
'"output" in the current path.')
|
||||
|
||||
parser.add_argument('-s', '--settings', dest='settings',
|
||||
default=DEFAULT_CONFIG_NAME,
|
||||
help='The settings of the application, this is '
|
||||
'automatically set to {0} if a file exists with this '
|
||||
'name.'.format(DEFAULT_CONFIG_NAME))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue