diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2015-02-01 15:00:09 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2015-02-02 10:57:07 +0100 |
commit | 2a0ffa311c8ac49847965b834d1e4b06cac3b168 (patch) | |
tree | a905fa89ece097799d44c49d525355d5704ab6a3 | |
parent | d4640320dff75cc1bdbc1910cf4e3b66b8623aa2 (diff) | |
download | util-linux-playground-2a0ffa311c8ac49847965b834d1e4b06cac3b168.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index eb3141b616..8658ff25af 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; |