diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-11 18:15:41 (EDT) |
commit | f79dea0f5e1b89488d73bfb0360e651b8d578e15 (patch) | |
tree | 682bacab015acd1175f57b7bcbc8b65e4cb02ba5 /src/cmd | |
parent | d19eb991c6cf206dba7a9ecc0732c4ab5e7b4f85 (diff) |
Consistently shift function arguments
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/copy-suite.sh | 1 | ||||
-rw-r--r-- | src/cmd/help.sh | 1 | ||||
-rw-r--r-- | src/cmd/remove-suite.sh | 1 | ||||
-rw-r--r-- | src/cmd/remove.sh | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/copy-suite.sh b/src/cmd/copy-suite.sh index 2e4f3be..4ea66e5 100644 --- a/src/cmd/copy-suite.sh +++ b/src/cmd/copy-suite.sh @@ -24,6 +24,7 @@ cmd_copy_suite_main() { local src_suite="${1}" local dst_suite="${2}" + shift 2 local src_chan= local src_dist= local dst_chan= diff --git a/src/cmd/help.sh b/src/cmd/help.sh index 7a940c4..a322fca 100644 --- a/src/cmd/help.sh +++ b/src/cmd/help.sh @@ -26,6 +26,7 @@ cmd_help_main() if [ ${#} -eq 1 ]; then cmd="${1}" + shift 1 if is_cmd "${cmd}"; then print_cmd_usage "${cmd}" return 0 diff --git a/src/cmd/remove-suite.sh b/src/cmd/remove-suite.sh index 35bae16..9c709ba 100644 --- a/src/cmd/remove-suite.sh +++ b/src/cmd/remove-suite.sh @@ -23,6 +23,7 @@ cmd_remove_suite_main() { local suite="${1}" + shift 1 local chan= local dist= diff --git a/src/cmd/remove.sh b/src/cmd/remove.sh index 64394c0..643aa10 100644 --- a/src/cmd/remove.sh +++ b/src/cmd/remove.sh @@ -24,6 +24,7 @@ cmd_remove_main() { local suite="${1}" local source="${2}" + shift 2 local chan= local dist= |