diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-11-13 09:26:24 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-12-10 17:16:44 +0100 |
commit | 9fc0ab5c9ca6bd3d3179a85a5cff18d709550bf5 (patch) | |
tree | 18eec8126459f8b63e0864b37c34516bf6e7c2c0 /qga | |
parent | ac84b0fa2857383ca25e86970fb12a067e56f66c (diff) |
qga: Tweak a guest-shutdown error message
Change
Parameter 'mode' expects halt|powerdown|reboot
to
Parameter 'mode' expects 'halt', 'powerdown', or 'reboot'
for consistency with similar error messages elsewhere.
Cc: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201113082626.2725812-9-armbru@redhat.com>
Diffstat (limited to 'qga')
-rw-r--r-- | qga/commands-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c index 87dc43e837..ba1fd07d06 100644 --- a/qga/commands-win32.c +++ b/qga/commands-win32.c @@ -334,7 +334,7 @@ void qmp_guest_shutdown(bool has_mode, const char *mode, Error **errp) shutdown_flag |= EWX_REBOOT; } else { error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "mode", - "halt|powerdown|reboot"); + "'halt', 'powerdown', or 'reboot'"); return; } |