Browse Source

fix: dev: [0km] typos and comments !minor

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 4 years ago
parent
commit
c6ac7207b6
  1. 12
      bin/0km

12
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[@]}"

Loading…
Cancel
Save