- this commit slightly changes format questions:
  form "User name:" -> to "Bugzilla User name:"

- related to trac#948

Signed-off-by: Jakub Filak <[email protected]>
---
 src/cli/cli-report.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/cli/cli-report.c b/src/cli/cli-report.c
index e7e18f2..2d76781 100644
--- a/src/cli/cli-report.c
+++ b/src/cli/cli-report.c
@@ -432,7 +432,9 @@ static void ask_for_missing_settings(const char *event_name)
 
             char result[512];
 
-            char *question = xasprintf("%s: ", (opt->eo_label) ? opt->eo_label 
: opt->eo_name);
+            char *question = xasprintf("%s %s:",
+                                             ec_get_screen_name(event_config) 
? ec_get_screen_name(event_config) : event_name,
+                                             (opt->eo_label) ? opt->eo_label : 
opt->eo_name);
             switch (opt->eo_type) {
             case OPTION_TYPE_TEXT:
             case OPTION_TYPE_NUMBER:
-- 
1.7.11.7

Reply via email to