rename role

This commit is contained in:
Jason Ertel
2024-10-31 16:42:42 -04:00
parent 370b117938
commit 520c9d8d51

View File

@@ -69,22 +69,22 @@ while [[ $# -gt 0 ]]; do
case "$param" in case "$param" in
--id) --id)
id=$1 id=$1
[[ ${#id} -gt 55 ]] && fail("id cannot be longer than 55 characters") [[ ${#id} -gt 55 ]] && fail "id cannot be longer than 55 characters"
shift shift
;; ;;
--permission) --permission)
perm=$1 perm=$1
[[ ${#perm} -gt 50 ]] && fail("permission cannot be longer than 50 characters") [[ ${#perm} -gt 50 ]] && fail "permission cannot be longer than 50 characters"
shift shift
;; ;;
--name) --name)
name=$1 name=$1
[[ ${#name} -gt 50 ]] && fail("name cannot be longer than 50 characters") [[ ${#name} -gt 50 ]] && fail "name cannot be longer than 50 characters"
shift shift
;; ;;
--note) --note)
note=$1 note=$1
[[ ${#note} -gt 50 ]] && fail("note cannot be longer than 500 characters") [[ ${#note} -gt 50 ]] && fail "note cannot be longer than 500 characters"
shift shift
;; ;;
--json) --json)