From c6ac7207b658433681e4e0ba0af3d8da297e34c3 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 25 Apr 2021 09:08:55 +0200 Subject: [PATCH] fix: dev: [0km] typos and comments !minor Signed-off-by: Valentin Lab --- bin/0km | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bin/0km b/bin/0km index c15bed0..c8fb254 100755 --- a/bin/0km +++ b/bin/0km @@ -16,6 +16,10 @@ desc='Manage 0k related installs' help="" +## +## Functions +## + is-port-open() { local host="$1" port="$2" timeout=5 start="$SECONDS" @@ -421,12 +425,10 @@ cmdline.spec::cmd:vps-setup:run() { } - cmdline.spec.gnu vps-check - cmdline.spec::cmd:vps-check:run() { - : :posarg: [VPS...] 'Target host to check' + : :posarg: [VPS...] 'Target host(s) to check' echo "" | @@ -448,7 +450,7 @@ cmdline.spec::cmd:vps-update:run() { cmdline.spec.gnu vps-mux cmdline.spec::cmd:vps-mux:run() { - : :posarg: [VPS...] 'Target host to check' + : :posarg: [VPS...] 'Target host(s) to check' cat | vps_mux vps_bash "${VPS[@]}" } @@ -457,7 +459,7 @@ cmdline.spec::cmd:vps-mux:run() { cmdline.spec.gnu vps-space cmdline.spec::cmd:vps-space:run() { - : :posarg: [VPS...] 'Target host to check' + : :posarg: [VPS...] 'Target host(s) to check' echo "df /srv -h | tail -n +2 | sed -r 's/ +/ /g' | cut -f 2-5 -d ' '" | vps_mux vps_bash "${VPS[@]}"