Mercurial > wikked
changeset 453:0c8d6e886c28
list: Allow listing all pages in the wiki.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 09 Jan 2018 21:21:08 -0800 |
parents | 4ef0a26d0153 |
children | 07a930afd21a |
files | wikked/commands/query.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wikked/commands/query.py Sun Jan 07 21:20:45 2018 -0800 +++ b/wikked/commands/query.py Tue Jan 09 21:21:08 2018 -0800 @@ -15,7 +15,8 @@ def setupParser(self, parser): parser.add_argument( 'pattern', - help="Filter pages whose URL matches the given pattern.") + help="Filter pages whose URL matches the given pattern.", + nargs='?') parser.add_argument( '-r', '--regex', action='store_true',