From e5921b3949eccb0ec9fd5faf3b333ab3b4ca6021 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 26 Feb 2019 03:08:26 +1100 Subject: [PATCH] [client] main: better error text for changed spice options --- client/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/main.c b/client/main.c index ca66557a..6ca1abf4 100644 --- a/client/main.c +++ b/client/main.c @@ -1657,7 +1657,8 @@ int main(int argc, char * argv[]) else if (strcasecmp("CLIPBOARD_TO_LOCAL", optarg) == 0) params.clipboardToLocal = false; else { - fprintf(stderr, "Invalid spice option %s\n", optarg); + fprintf(stderr, "Invalid spice feature: %s\n", optarg); + fprintf(stderr, "Must be one of ALL, INPUT, CLIPBOARD, CLIPBOARD_TO_VM, CLIPBOARD_TO_LOCAL\n"); doHelp(argv[0]); return -1; }