# HG changeset patch # User Ludovic Chabant # Date 1515561668 28800 # Node ID 0c8d6e886c281cfdc45fd3f9b4f58b91f8c0dcd0 # Parent 4ef0a26d0153303b491a7b003d2db1e4ba12d3e6 list: Allow listing all pages in the wiki. diff -r 4ef0a26d0153 -r 0c8d6e886c28 wikked/commands/query.py --- 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',