diff options
author | Solderpunk <solderpunk@sdf.org> | 2020-03-17 19:27:26 +0100 |
---|---|---|
committer | Solderpunk <solderpunk@sdf.org> | 2020-03-17 19:27:26 +0100 |
commit | 7c72eeba91b61d7f51fafb691c31f6deffd20b3c (patch) | |
tree | 4c33b9d253c248c5aeee31b501a13fdd155b85f9 | |
parent | e116e5e154489253320730e927e8b5bea8499c0a (diff) |
When run from the command line, use the directory name as a default feed title.
-rw-r--r-- | gemfeed.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -168,7 +168,7 @@ def main(): parser.add_argument('-s', '--subtitle', dest='subtitle', type=str, help='feed subtitle') parser.add_argument('-t', '--title', dest='title', type=str, - help='feed title') + default=os.path.basename(cwd), help='feed title') args = parser.parse_args() # Normalise base URL |