From 19d5585321f9c2070f87aea1ccfd29633366fcfd Mon Sep 17 00:00:00 2001 From: girst Date: Wed, 28 Feb 2018 03:13:24 +0100 Subject: [PATCH] update keybindings in `-h' --- mines_2017.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/mines_2017.c b/mines_2017.c index 5fe52ee..8b7039f 100644 --- a/mines_2017.c +++ b/mines_2017.c @@ -220,15 +220,18 @@ int main (int argc, char** argv) { " WxHxM (width 'x' height 'x' mines)\n" " defaults to 30x16x99\n" "\n" - "hjkl: move 1 left/down/up/right\n" - "bduw: move 5 left/down/up/right\n" - "^Gg$: move to the left/bottom/top/right\n" - "left mouse/o: open/choord\n" - "right mouse/i: flag/unflag\n" - "space: modeful cursor (either open or flag)\n" - "a: toggle mode for space (open/flag)\n" - ":D / r: start a new game\n" - "q: quit\n", argv[0]); + "Keybindings:\n" + " hjkl: move left/down/up/right\n" + " bduw: move to next boundary\n" + " ^Gg$: move to the left/bottom/top/right\n" + " o: open/choord\n" + " i: flag/unflag\n" + " space:modeful cursor (either open or flag)\n" + " a: toggle mode for space (open/flag)\n" + " mX: set a mark for letter X\n" + " `X: move to mark X (aliased to ')\n" + " r: start a new game\n" + " q: quit\n", argv[0]); _exit(0); } } -- 2.39.3