summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorPaul Seyfert <paul.seyfert@mib.infn.it>2016-07-21 19:29:18 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-02 18:53:15 (GMT)
commit9a1b6c6037869edba1c44dcfa06da8201653ce1b (patch)
tree137f38a9a3ab1b9e9c6cadf78f283c4f3866626f /Source
parent31b6cf41c5a4e17ea97e0c94f0e81b9a18ce96b8 (diff)
downloadCMake-9a1b6c6037869edba1c44dcfa06da8201653ce1b.zip
CMake-9a1b6c6037869edba1c44dcfa06da8201653ce1b.tar.gz
CMake-9a1b6c6037869edba1c44dcfa06da8201653ce1b.tar.bz2
ccmake: Revise documentation for [d]
* list it at the bottom of the screen * different place in help message
Diffstat (limited to 'Source')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index b9fd8f8..fd19a01 100644
--- a/Source/CursesDialog/cmCursesMainForm.cxx
+++ b/Source/CursesDialog/cmCursesMainForm.cxx
@@ -388,7 +388,7 @@ void cmCursesMainForm::PrintKeys(int process /* = 0 */)
curses_move(y - 4, 0);
char fmt_s[] = "%s";
- char fmt[512] = "Press [enter] to edit option";
+ char fmt[512] = "Press [enter] to edit option Press [d] to delete an entry";
if (process) {
strcpy(fmt, " ");
}
@@ -1140,7 +1140,6 @@ const char* cmCursesMainForm::s_ConstHelpMessage =
" C-k : kill the rest of the field\n"
" Esc : Restore field (discard last changes)\n"
" Enter : Leave edit mode\n"
- "You can also delete an option by pressing 'd'\n\n"
"Commands:\n"
" q : quit ccmake without generating build files\n"
" h : help, shows this screen\n"
@@ -1148,6 +1147,7 @@ const char* cmCursesMainForm::s_ConstHelpMessage =
" g : generate build files and exit, only available when there are no "
"new options and no errors have been detected during last configuration.\n"
" l : shows last errors\n"
+ " d : delete an option\n"
" t : toggles advanced mode. In normal mode, only the most important "
"options are shown. In advanced mode, all options are shown. We recommend "
"using normal mode unless you are an expert.\n"