Skip to contentSkip to conversation

xl: fix xl create/cpupool-create -f help output

PATCH In review Olaf Hering 2 participants 2 messages Feb 15, 2012 – Feb 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xl: fix xl create/cpupool-create -f help output

# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1329297824 -3600
# Node ID 07bc9ce2378e9271405b6a9f5088da63805bcd2a # Parent 9ad1e42c341bc78463b6f6610a6300f75b535fbb
xl: fix xl create/cpupool-create -f help output

xl create -f domU.cfg does not need an equal sign. This applies also to xl cpupool-create.

tools/libxl/xl_cmdtable.c +2 -2
diff -r 9ad1e42c341b -r 07bc9ce2378e tools/libxl/xl_cmdtable.c
@@ -25,7 +25,7 @@ struct cmd_spec cmd_table[] = {
       "-h                      Print this help.\n"
       "-p                      Leave the domain paused after it is created.\n"
       "-c                      Connect to the console after the domain is created.\n"
-      "-f=FILE, --defconfig=FILE\n                     Use the given configuration file.\n"
+      "-f FILE, --defconfig=FILE\n                     Use the given configuration file.\n"
       "-q, --quiet             Quiet.\n"
       "-n, --dryrun            Dry run - prints the resulting configuration\n"
       "                         (deprecated in favour of global -N option).\n"
@@ -357,7 +357,7 @@ struct cmd_spec cmd_table[] = {
       "Create a CPU pool based an ConfigFile",
       "[options] <ConfigFile> [vars]",
       "-h, --help                   Print this help.\n"
-      "-f=FILE, --defconfig=FILE    Use the given configuration file.\n"
+      "-f FILE, --defconfig=FILE    Use the given configuration file.\n"
       "-n, --dryrun                 Dry run - prints the resulting configuration.\n"
       "                              (deprecated in favour of global -N option)."
     },