]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cfdisk: make '?' an alias of 'h', to also show the help screen
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 1 Feb 2015 14:00:09 +0000 (15:00 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Feb 2015 09:57:07 +0000 (10:57 +0100)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/cfdisk.c

index eb3141b61669f81193c5a94e500a22143bfaf9da..8658ff25af857c2fdcd19b1b162a523fde9a63c3 100644 (file)
@@ -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;