projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f341e1
)
Improve prompt with more options hidden behind '?' (bnc#844373)
author
Michael Andres
<ma@suse.de>
Tue, 15 Oct 2013 16:36:45 +0000
(18:36 +0200)
committer
Michael Andres
<ma@suse.de>
Tue, 15 Oct 2013 16:36:45 +0000
(18:36 +0200)
src/utils/prompt.cc
patch
|
blob
|
history
diff --git
a/src/utils/prompt.cc
b/src/utils/prompt.cc
index
db5cada
..
220b156
100644
(file)
--- a/
src/utils/prompt.cc
+++ b/
src/utils/prompt.cc
@@
-83,6
+83,8
@@
const string PromptOptions::optionString() const
if (shown_count)
option_str << "/";
fprint_color(option_str, "?", COLOR_CONTEXT_PROMPT_OPTION);
+ // translators: Press '?' to see all options embedded in this prompt: "Continue? [y/n/? shows all options] (y):"
+ option_str << " " << _("shows all options");
}
if (!_options.empty() && shown_count)