libvirt/tools
Eric Blake 26752f3be1 virsh: tweak help output for VSH_OT_DATA
https://bugzilla.redhat.com/show_bug.cgi?id=609044 complained
that 'virsh help pool-create-as' didn't document the shortcut
that you can do 'virsh pool-create-as $name $type --target $target'
rather than having to supply the four optional source- arguments
in order to fill out the necessary positional arguments.

This one-liner changes the help output to hopefully make this more obvious:

  NAME
    pool-create-as - create a pool from a set of args

  SYNOPSIS
    pool-create-as <name> [--print-xml] <type> [<source-host>] [<source-path>] [<source-dev>] [<source-name>] [<target>] [--source-format <string>]

  DESCRIPTION
    Create a pool.

  OPTIONS
    [--name] <string>  name of the pool
    --print-xml      print XML document, but don't define/create
    [--type] <string>  type of the pool
    [--source-host] <string>  source-host for underlying storage
    [--source-path] <string>  source path for underlying storage
    [--source-dev] <string>  source device for underlying storage
    [--source-name] <string>  source name for underlying storage
    [--target] <string>  target for underlying storage
    --source-format <string>  format for underlying storage

* tools/virsh.c (vshCmddefHelp): Make it more obvious that data
arguments may, but not must, be specified by option leaders.
2010-06-30 07:17:40 -06:00
..
.gitignore Make pki_check.sh into an installed & supported tool 2009-09-21 14:41:46 +01:00
console.c build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
console.h build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
Makefile.am build: fix up some compiler flags 2010-05-17 09:12:42 -06:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh.c virsh: tweak help output for VSH_OT_DATA 2010-06-30 07:17:40 -06:00
virsh.pod virsh: add new --details option to pool-list 2010-06-29 08:37:39 -06:00
virt-pki-validate.in Fix virt-pki-validate's determination of CN 2010-04-29 20:10:46 -06:00
virt-xml-validate.in build: import latest gnulib 2010-04-02 10:18:55 -06:00