Skip to content

Commit e7d7593

Browse files
committed
fix shellcheck
1 parent 9e7800b commit e7d7593

File tree

20 files changed

+20
-20
lines changed

20 files changed

+20
-20
lines changed

examples/colors/colorly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ inspect_args() {
7070
if (( ${#other_args[@]} )); then
7171
echo
7272
echo other_args:
73-
echo "- \${other_args[@]} = ${other_args[@]}"
73+
echo "- \${other_args[*]} = ${other_args[*]}"
7474
for i in "${!other_args[@]}"; do
7575
echo "- \${other_args[$i]} = ${other_args[$i]}"
7676
done

examples/command-default/ftp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ inspect_args() {
126126
if (( ${#other_args[@]} )); then
127127
echo
128128
echo other_args:
129-
echo "- \${other_args[@]} = ${other_args[@]}"
129+
echo "- \${other_args[*]} = ${other_args[*]}"
130130
for i in "${!other_args[@]}"; do
131131
echo "- \${other_args[$i]} = ${other_args[$i]}"
132132
done

examples/command-groups/ftp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ inspect_args() {
173173
if (( ${#other_args[@]} )); then
174174
echo
175175
echo other_args:
176-
echo "- \${other_args[@]} = ${other_args[@]}"
176+
echo "- \${other_args[*]} = ${other_args[*]}"
177177
for i in "${!other_args[@]}"; do
178178
echo "- \${other_args[$i]} = ${other_args[$i]}"
179179
done

examples/commands-nested/cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ inspect_args() {
256256
if (( ${#other_args[@]} )); then
257257
echo
258258
echo other_args:
259-
echo "- \${other_args[@]} = ${other_args[@]}"
259+
echo "- \${other_args[*]} = ${other_args[*]}"
260260
for i in "${!other_args[@]}"; do
261261
echo "- \${other_args[$i]} = ${other_args[$i]}"
262262
done

examples/commands/cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ inspect_args() {
165165
if (( ${#other_args[@]} )); then
166166
echo
167167
echo other_args:
168-
echo "- \${other_args[@]} = ${other_args[@]}"
168+
echo "- \${other_args[*]} = ${other_args[*]}"
169169
for i in "${!other_args[@]}"; do
170170
echo "- \${other_args[$i]} = ${other_args[$i]}"
171171
done

examples/config-ini/configly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ inspect_args() {
172172
if (( ${#other_args[@]} )); then
173173
echo
174174
echo other_args:
175-
echo "- \${other_args[@]} = ${other_args[@]}"
175+
echo "- \${other_args[*]} = ${other_args[*]}"
176176
for i in "${!other_args[@]}"; do
177177
echo "- \${other_args[$i]} = ${other_args[$i]}"
178178
done

examples/custom-includes/download

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ inspect_args() {
6666
if (( ${#other_args[@]} )); then
6767
echo
6868
echo other_args:
69-
echo "- \${other_args[@]} = ${other_args[@]}"
69+
echo "- \${other_args[*]} = ${other_args[*]}"
7070
for i in "${!other_args[@]}"; do
7171
echo "- \${other_args[$i]} = ${other_args[$i]}"
7272
done

examples/custom-strings/download

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ inspect_args() {
6969
if (( ${#other_args[@]} )); then
7070
echo
7171
echo other_args:
72-
echo "- \${other_args[@]} = ${other_args[@]}"
72+
echo "- \${other_args[*]} = ${other_args[*]}"
7373
for i in "${!other_args[@]}"; do
7474
echo "- \${other_args[$i]} = ${other_args[$i]}"
7575
done

examples/default-values/convert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ inspect_args() {
7979
if (( ${#other_args[@]} )); then
8080
echo
8181
echo other_args:
82-
echo "- \${other_args[@]} = ${other_args[@]}"
82+
echo "- \${other_args[*]} = ${other_args[*]}"
8383
for i in "${!other_args[@]}"; do
8484
echo "- \${other_args[$i]} = ${other_args[$i]}"
8585
done

examples/dependencies/cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ inspect_args() {
104104
if (( ${#other_args[@]} )); then
105105
echo
106106
echo other_args:
107-
echo "- \${other_args[@]} = ${other_args[@]}"
107+
echo "- \${other_args[*]} = ${other_args[*]}"
108108
for i in "${!other_args[@]}"; do
109109
echo "- \${other_args[$i]} = ${other_args[$i]}"
110110
done

0 commit comments

Comments
 (0)