From: Matthias Kruk Date: Sat, 8 Oct 2022 07:43:55 +0000 (+0900) Subject: utils/ipc-sshtunnel: Use tabs for indentation, spaces for alignment X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=0ae4ddebb4bebf20482cc01f7cbefa0bea2a2d36;p=toolbox utils/ipc-sshtunnel: Use tabs for indentation, spaces for alignment 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. --- diff --git a/utils/ipc-sshtunnel.sh b/utils/ipc-sshtunnel.sh index 74e34fa..09b4858 100755 --- a/utils/ipc-sshtunnel.sh +++ b/utils/ipc-sshtunnel.sh @@ -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