From 865821f829e4307b84da55c4576020de50d071e1 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Sun, 10 May 2020 15:47:20 +0200 Subject: [PATCH] Update help for option in source code. --- source/dialogs/dmenu.c | 4 ++-- source/rofi.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/dialogs/dmenu.c b/source/dialogs/dmenu.c index 219dc98a..5e9af2d4 100644 --- a/source/dialogs/dmenu.c +++ b/source/dialogs/dmenu.c @@ -760,8 +760,8 @@ void print_dmenu_options ( void ) print_help_msg ( "-l", "[integer] ", "Number of rows to display", NULL, is_term ); print_help_msg ( "-window-title", "[string] ", "Set the dmenu window title", NULL, is_term ); print_help_msg ( "-i", "", "Set filter to be case insensitive", NULL, is_term ); - print_help_msg ( "-only-match", "", "Force selection or custom entry", NULL, is_term ); - print_help_msg ( "-no-custom", "", "Don't accept custom entry", NULL, is_term ); + print_help_msg ( "-only-match", "", "Force selection to be given entry, disallow no match", NULL, is_term ); + print_help_msg ( "-no-custom", "", "Don't accept custom entry, allow no match", NULL, is_term ); print_help_msg ( "-select", "[string]", "Select the first row that matches", NULL, is_term ); print_help_msg ( "-password", "", "Do not show what the user inputs. Show '*' instead.", NULL, is_term ); print_help_msg ( "-markup-rows", "", "Allow and render pango markup as input data.", NULL, is_term ); diff --git a/source/rofi.c b/source/rofi.c index 58c0c5c8..b839109a 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -285,7 +285,7 @@ static void print_main_application_options ( int is_term ) print_help_msg ( "-dump-xresources", "", "Dump the current configuration in Xresources format and exit.", NULL, is_term ); print_help_msg ( "-e", "[string]", "Show a dialog displaying the passed message and exit.", NULL, is_term ); print_help_msg ( "-markup", "", "Enable pango markup where possible.", NULL, is_term ); - print_help_msg ( "-normal-window", "", "In dmenu mode, behave as a normal window. (experimental)", NULL, is_term ); + print_help_msg ( "-normal-window", "", "Behave as a normal window. (experimental)", NULL, is_term ); print_help_msg ( "-show", "[mode]", "Show the mode 'mode' and exit. The mode has to be enabled.", NULL, is_term ); print_help_msg ( "-no-lazy-grab", "", "Disable lazy grab that, when fail to grab keyboard, does not block but retry later.", NULL, is_term ); print_help_msg ( "-no-plugins", "", "Disable loading of external plugins.", NULL, is_term );