Refresh the completion script

Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2016-04-12 12:59:07 -07:00
parent cffea758d6
commit 362d85d153
+6 -6
View File
@@ -28,19 +28,19 @@ _swupd()
#Adding all options for subcommands in an array
mainsubcommands+=("bundle-add bundle-remove hashdump update verify check-update search")
suboptions+=("$mainopts")
suboptions+=(" -h --help -u --url -c --contenturl -v --versionurl -P --port -p --path -F --format -l --list -x --force")
suboptions+=(" -h --help -u --url -c --contenturl -v --versionurl -P --port -p --path -F --format -l --list -x --force -S --statedir")
mainsubcommands+=(" ")
suboptions+=(" -h --help -p --path -u --url -c --contenturl -v --versionurl -P --port -F --format -x --force")
suboptions+=(" -h --help -p --path -u --url -c --contenturl -v --versionurl -P --port -F --format -x --force -S --statedir")
mainsubcommands+=(" ")
suboptions+=(" -h --help -n --no-xattrs -b --basepath")
mainsubcommands+=(" ")
suboptions+=(" -h --help -d --download -u --url -P --port -c --contenturl -v --versionurl -s --status -F --format -p --path -x --force")
suboptions+=(" -h --help -d --download -u --url -P --port -c --contenturl -v --versionurl -s --status -F --format -p --path -x --force -S --statedir")
mainsubcommands+=(" ")
suboptions+=(" -h --help -m --manifest -p --path -u --url -P --port -c --contenturl -v --versionurl -f --fix -i --install -F --format -q --quick -x --force")
suboptions+=(" -h --help -m --manifest -p --path -u --url -P --port -c --contenturl -v --versionurl -f --fix -i --install -F --format -q --quick -x --force -S --statedir")
mainsubcommands+=(" ")
suboptions+=(" -h --help -u --url -v --versionurl -P --port -F --format -x --force -p --path")
suboptions+=(" -h --help -u --url -v --versionurl -P --port -F --format -x --force -p --path -S --statedir")
mainsubcommands+=(" ")
suboptions+=(" -h --help -l --library -b --binary -s --scope -d --display-files -i --init -u --url -c --contenturl -v --versionurl -P --port -p --path -F --format")
suboptions+=(" -h --help -l --library -b --binary -s --scope -d --display-files -i --init -u --url -c --contenturl -v --versionurl -P --port -p --path -F --format -S --statedir")
mainsubcommands+=(" ")
#Need to get last subcommand entered by the user