mirror of
https://github.com/m8tin/cis.git
synced 2026-08-01 11:47:31 +02:00
Use of base.set() parameter optional and remove exit 1, because is is obsolete.
This commit is contained in:
@@ -223,8 +223,8 @@ function usage() {
|
||||
|
||||
|
||||
|
||||
# Parameter 2: is optional '()?' and only a subset of alphanumeric characters are allowed and [_-] if not leading (due to: -oProxyCommand=...).
|
||||
base.set COMPOSITION "${2}" '^([a-zA-Z0-9][a-zA-Z0-9_-]*)?$'
|
||||
# Parameter 2: only a subset of alphanumeric characters are allowed and [_-] if not leading (due to: -oProxyCommand=...).
|
||||
base.set COMPOSITION "${2}" '^[a-zA-Z0-9][a-zA-Z0-9_-]*$' optional
|
||||
|
||||
case "${1}" in
|
||||
--onceAll)
|
||||
|
||||
Reference in New Issue
Block a user