From 3e7f5993e3e43fd9b6fa4cdfc29a5bff768f2496 Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Tue, 6 Apr 2010 19:59:58 +0000 Subject: [PATCH] improve error message when missing report name svn: r15048 --- src/cli/arghandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/arghandler.py b/src/cli/arghandler.py index c57174585..5d2e2755c 100644 --- a/src/cli/arghandler.py +++ b/src/cli/arghandler.py @@ -472,7 +472,7 @@ class ArgHandler(object): # name exists, but is not in the list of valid report names msg = "Unknown report name." else: - msg = "Report name not given. Please use -p name=reportname." + msg = "Report name not given. Please use one of [-p|--options] name=reportname." print "%s\n Available names are:" % msg for pdata in _cl_list: @@ -509,7 +509,7 @@ class ArgHandler(object): return msg = "Unknown tool name." else: - msg = "Tool name not given. Please use -p name=toolname." + msg = "Tool name not given. Please use one of [-p|--options] name=toolname." print "%s\n Available names are:" % msg for pdata in _cli_tool_list: