remove optchat
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
set -euo pipefail
|
||||
selection=()
|
||||
if (($#)); then
|
||||
if [[ "$#" -ne 2 || "$1" != "--plugins" || ! "$2" =~ ^(agents|multi-work|quota|optchat)(,(agents|multi-work|quota|optchat))*$ ]]; then
|
||||
printf 'Usage: %s [--plugins agents,multi-work,quota,optchat]\n' "$0" >&2
|
||||
if [[ "$#" -ne 2 || "$1" != "--plugins" || ! "$2" =~ ^(agents|multi-work|quota)(,(agents|multi-work|quota))*$ ]]; then
|
||||
printf 'Usage: %s [--plugins agents,multi-work,quota]\n' "$0" >&2
|
||||
exit 2
|
||||
fi
|
||||
if [[ ",$2," == *,multi-work,* && ",$2," != *,agents,* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user