summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-08-25 02:06:58 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-08-25 02:06:58 +0200
commit1c2c4ae83e78d3450e313aba53628497643adfb8 (patch)
treee6f91f6114987c0621c6ef913c0ab9adbb4225cb
parent0b46af4d03aa1935796d0ce474ad9bceb46b2aed (diff)
oldconfig: Fix help display command for choices
'?' should display the help, like for symbols, not '??'. Oversight when the command was changed.
-rwxr-xr-xoldconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oldconfig.py b/oldconfig.py
index aeb6666..2c058bd 100755
--- a/oldconfig.py
+++ b/oldconfig.py
@@ -262,7 +262,7 @@ def do_oldconfig_for_node(node):
sel_index = input("choice[1-{}]: ".format(len(options)))
- if sel_index == "??":
+ if sel_index == "?":
print_help(node)
continue