commit 4a51e91df46202a5a2e7eb6132a308e3ba24f86d parent a5843e0bab68e137a21d483cb3b5d9f7398aa31a Author: Isak Lindhé <isak.e.lindhe@gmail.com> Date: Thu, 28 Mar 2019 16:45:09 +0100 more helpful error message on bad page number Diffstat:
M | txtv/txtv.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/txtv/txtv.py b/txtv/txtv.py @@ -173,7 +173,7 @@ commands = [ }, { 'helpname': '<PAGE NUMBER>', - 'pattern': '[0-9]{3}', + 'pattern': '[0-9]+', 'func': cmd_page, 'help': 'show the specified page', },