]> git.corax.cc Git - toolbox/commitdiff
utils/ipc-sshtunnel: Use tabs for indentation, spaces for alignment
authorMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 07:43:55 +0000 (16:43 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 8 Oct 2022 07:43:55 +0000 (16:43 +0900)
Some parts of ipc-sshtunnel.sh use spaces for indentation and tabs
for alignment, but tabs should be used for indentation and spaces
for alignment.

This commit fixes the indentation and alignment in ipc-sshtunnel.

utils/ipc-sshtunnel.sh

index 74e34fa7f40cd37c12b3a9ebbb79f15d5322ea83..09b4858e27d194d0d7676d05ae69d1cdbc904255 100755 (executable)
@@ -114,9 +114,9 @@ spawn_tunnel() {
 
 main() {
        declare -gxa input_topics
-        declare -gxa output_topics
-        declare -gxa tap_hooks
-        declare -gxa inject_hooks
+       declare -gxa output_topics
+       declare -gxa tap_hooks
+       declare -gxa inject_hooks
        local remote
 
        input_topics=()
@@ -129,9 +129,9 @@ main() {
        opt_add_arg "o" "output-topic" "v"  "" "Topic to relay to the remote side (may be used more than once)"   \
                    "" _array_add
        opt_add_arg "T" "tap-hook"     "v"  "" "Hook to pass to ipc-tap"                                          \
-                   "" _array_add
+                   "" _array_add
        opt_add_arg "I" "inject-hook"  "v"  "" "Hook to pass to ipc-inject"                                       \
-                   "" _array_add
+                   "" _array_add
        opt_add_arg "r" "remote"       "rv" "" "Address of the remote side"
 
        if ! opt_parse "$@"; then