summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenno Schulenberg2015-02-01 15:00:09 +0100
committerKarel Zak2015-02-02 10:57:07 +0100
commit2a0ffa311c8ac49847965b834d1e4b06cac3b168 (patch)
treea905fa89ece097799d44c49d525355d5704ab6a3
parentcfdisk: punctuate the bottombar messages consistently (diff)
downloadkernel-qcow2-util-linux-2a0ffa311c8ac49847965b834d1e4b06cac3b168.tar.gz
kernel-qcow2-util-linux-2a0ffa311c8ac49847965b834d1e4b06cac3b168.tar.xz
kernel-qcow2-util-linux-2a0ffa311c8ac49847965b834d1e4b06cac3b168.zip
cfdisk: make '?' an alias of 'h', to also show the help screen
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
-rw-r--r--disk-utils/cfdisk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c
index eb3141b61..8658ff25a 100644
--- a/disk-utils/cfdisk.c
+++ b/disk-utils/cfdisk.c
@@ -1924,6 +1924,7 @@ static int main_menu_action(struct cfdisk *cf, int key)
ref = 1;
break;
case 'h': /* Help */
+ case '?':
ui_help();
ref = 1;
break;