diff -r 52e928af3637 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Jan 28 19:37:49 2011 +0000 +++ b/tools/libxl/xl_cmdimpl.c Fri Jan 28 23:40:38 2011 +0100 @@ -1762,7 +1762,7 @@ help("mem-max"); exit(0); default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -1809,7 +1809,7 @@ help("mem-set"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -1875,7 +1875,7 @@ help("cd-eject"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -1903,7 +1903,7 @@ help("cd-insert"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -1944,7 +1944,7 @@ num = atoi(optarg); break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -1993,7 +1993,7 @@ help("vncviewer"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2032,7 +2032,7 @@ help("pci-list-assignable-devices"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2069,7 +2069,7 @@ help("pci-list"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2114,7 +2114,7 @@ force = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2155,7 +2155,7 @@ help("pci-attach"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2816,7 +2816,7 @@ help("restore"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2865,7 +2865,7 @@ debug = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2894,7 +2894,7 @@ help("save"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2938,7 +2938,7 @@ debug = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -2998,7 +2998,7 @@ help("pause"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3025,7 +3025,7 @@ help("unpause"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3051,7 +3051,7 @@ help("destroy"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3081,7 +3081,7 @@ wait = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3107,7 +3107,7 @@ help("reboot"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3153,7 +3153,7 @@ verbose = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3204,7 +3204,7 @@ help("list-vm"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3262,7 +3262,7 @@ quiet = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -3328,7 +3328,7 @@ help("button-press"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -4103,7 +4103,7 @@ help("debug-keys"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -4138,7 +4138,7 @@ help("dmesg"); return 0; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -5219,7 +5219,7 @@ dryrun = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } } @@ -5416,7 +5416,7 @@ opt_cpus = 1; break; default: - fprintf(stderr, "option not supported\n"); + fprintf(stderr, "option `%c' not supported.\n", optopt); break; } }