From 0d43017704ebab869f635277a05f30bd43951588 Mon Sep 17 00:00:00 2001 From: Will Dowling Date: Tue, 26 Mar 2013 10:37:37 +0800 Subject: [PATCH] Adding information to argparse help --- pelican/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pelican/__init__.py b/pelican/__init__.py index 3be8ceb8..61638727 100644 --- a/pelican/__init__.py +++ b/pelican/__init__.py @@ -222,7 +222,8 @@ def parse_arguments(): 'them separated by commas.') parser.add_argument('-s', '--settings', dest='settings', - help='The settings of the application.') + help='The settings of the application, this defaults to {0} if a file, ' + 'exists with this name.'.format(DEFAULT_CONFIG_NAME)) parser.add_argument('-d', '--delete-output-directory', dest='delete_outputdir',