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:
0704255
)
minor fix
author
Ján Kupec
<jkupec@suse.cz>
Tue, 17 Mar 2009 11:31:26 +0000
(12:31 +0100)
committer
Ján Kupec
<jkupec@suse.cz>
Tue, 17 Mar 2009 11:31:26 +0000
(12:31 +0100)
src/utils/prompt.cc
patch
|
blob
|
history
diff --git
a/src/utils/prompt.cc
b/src/utils/prompt.cc
index
961b4ab
..
cbab44b
100644
(file)
--- a/
src/utils/prompt.cc
+++ b/
src/utils/prompt.cc
@@
-86,12
+86,14
@@
const string PromptOptions::optionString() const
}
if (!_options.empty() && shown_count)
+ {
option_str << "]";
- // default option
- option_str << " (";
- fprint_color(option_str, _options[_default], COLOR_CONTEXT_PROMPT_OPTION);
- option_str << ")";
+ // default option
+ option_str << " (";
+ fprint_color(option_str, _options[_default], COLOR_CONTEXT_PROMPT_OPTION);
+ option_str << ")";
+ }
return option_str.str();
}