Skip to content

Commit

Permalink
lstopo/interactive: ? also shows the help
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Oct 24, 2019
1 parent 3bd3fed commit e4a2806
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions utils/lstopo/lstopo-cairo.c
Expand Up @@ -473,6 +473,7 @@ output_x11(struct lstopo_output *loutput, const char *dummy __hwloc_attribute_un
break;
case XK_h:
case XK_H:
case XK_question:
lstopo_show_interactive_help();
break;
case XK_a:
Expand Down
1 change: 1 addition & 0 deletions utils/lstopo/lstopo-windows.c
Expand Up @@ -134,6 +134,7 @@ WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
break;
case 'h':
case 'H':
case '?':
lstopo_show_interactive_help();
break;
case 'q':
Expand Down
2 changes: 1 addition & 1 deletion utils/lstopo/lstopo.c
Expand Up @@ -443,7 +443,7 @@ void lstopo_show_interactive_help(void)
printf(" Scroll horizontally ................. Left Right Ctrl+PageUp/Down\n");
printf(" Scroll to the top-left corner ....... Home\n");
printf(" Scroll to the bottom-right corner ... End\n");
printf(" Show this help ...................... h H\n");
printf(" Show this help ...................... h H ?\n");
printf(" Exit ................................ q Q Esc\n");
printf(" Configuration tweaks:\n");
printf(" Toggle factorizing or collapsing .... f\n");
Expand Down

0 comments on commit e4a2806

Please sign in to comment.