Updated docs and bash completion to reflect previous commit

This commit is contained in:
Jesse Gardner 2021-03-30 16:37:51 -07:00
parent 36dc262307
commit 06521942cc
4 changed files with 11 additions and 2 deletions

3
man.md
View File

@ -60,6 +60,9 @@ be the first option listed to work properly.
Specify a non-default connection URI: sets the value of Specify a non-default connection URI: sets the value of
LIBVIRT\_DEFAULT\_URI LIBVIRT\_DEFAULT\_URI
-C, --copy-disks
When importing or copying a template, make a (full) copy of images
-f, --no-spice -f, --no-spice
Do not attempt to connect to a virtual machines Spice graphics. Do not attempt to connect to a virtual machines Spice graphics.
Overrides USE\_SPICE setting in configuration Overrides USE\_SPICE setting in configuration

View File

@ -56,6 +56,9 @@ be the first option listed to work properly.
: Specify a non-default connection URI: sets the value of : Specify a non-default connection URI: sets the value of
LIBVIRT_DEFAULT_URI LIBVIRT_DEFAULT_URI
\-C, \-\-copy\-disks
: When importing or copying a template, make a (full) copy of images
\-f, \-\-no\-spice \-f, \-\-no\-spice
: Do not attempt to connect to a virtual machine's Spice graphics. : Do not attempt to connect to a virtual machine's Spice graphics.
Overrides USE_SPICE setting in configuration Overrides USE_SPICE setting in configuration

View File

@ -65,6 +65,9 @@ first option listed to work properly.
Specify a non\-default connection URI: sets the value of Specify a non\-default connection URI: sets the value of
LIBVIRT_DEFAULT_URI LIBVIRT_DEFAULT_URI
.TP .TP
.B \-C, \-\-copy\-disks
When importing or copying a template, make a (full) copy of images
.TP
.B \-f, \-\-no\-spice .B \-f, \-\-no\-spice
Do not attempt to connect to a virtual machine\[cq]s Spice graphics. Do not attempt to connect to a virtual machine\[cq]s Spice graphics.
Overrides USE_SPICE setting in configuration Overrides USE_SPICE setting in configuration

View File

@ -22,8 +22,8 @@ declare -a COMS FLAGS
COMS=( check clone config connect copy-template delete-template destroy \ COMS=( check clone config connect copy-template delete-template destroy \
edit exec import-template list list-templates modify-template restore \ edit exec import-template list list-templates modify-template restore \
resume rm rm-shred rm-wipe save save-rm start suspend ) resume rm rm-shred rm-wipe save save-rm start suspend )
FLAGS=( connection no-spice use-spice help no-run quiet quieter run spicy \ FLAGS=( connection copy-disks no-spice use-spice help no-run quiet quieter \
storage template verbose virt-viewer ) run spicy storage template verbose virt-viewer )
local LAST_ARG THIS_ARG B4_LAST_ARG P set_coms local LAST_ARG THIS_ARG B4_LAST_ARG P set_coms
(( COMP_CWORD > 0 )) && (( COMP_CWORD > 0 )) &&