From: Hugh McMaster Subject: [PATCH 6/7] reg: Output program name instead of the generic 'Error' Message-Id: Date: Fri, 5 Feb 2016 19:08:35 +1100 In-Reply-To: <1454659716-22187-1-git-send-email-hugh.mcmaster@outlook.com> References: <1454659716-22187-1-git-send-email-hugh.mcmaster@outlook.com> Signed-off-by: Hugh McMaster --- programs/reg/reg.rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc index 309af0f..44c5e8b 100644 --- a/programs/reg/reg.rc +++ b/programs/reg/reg.rc @@ -31,10 +31,10 @@ STRINGTABLE STRING_DELETE_USAGE, "REG DELETE key_name [/v value_name | /ve | /va] [/f]\n" STRING_QUERY_USAGE, "REG QUERY key_name [/v value_name | /ve] [/s]\n" STRING_SUCCESS, "The operation completed successfully\n" - STRING_INVALID_KEY, "Error: Invalid key name\n" - STRING_INVALID_CMDLINE, "Error: Invalid command line parameters\n" - STRING_NO_REMOTE, "Error: Unable to access remote machine\n" - STRING_CANNOT_FIND, "Error: The system was unable to find the specified registry key or value\n" + STRING_INVALID_KEY, "reg: Invalid key name\n" + STRING_INVALID_CMDLINE, "reg: Invalid command line parameters\n" + STRING_NO_REMOTE, "reg: Unable to access remote machine\n" + STRING_CANNOT_FIND, "reg: The system was unable to find the specified registry key or value\n" STRING_UNSUPPORTED_TYPE, "reg: Unsupported registry data type [%1]\n" STRING_MISSING_INTEGER, "reg: The option [/d] must be followed by a valid integer\n" STRING_MISSING_HEXDATA, "reg: The option [/d] must be followed by a valid hexadecimal value\n" -- 1.9.1