diff --git a/swupd.bash b/swupd.bash index d523dc81..4008fd79 100644 --- a/swupd.bash +++ b/swupd.bash @@ -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