From 52f4f4fe0d9d76fa0785de08977f96e667e182a9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 15 Aug 2019 13:31:54 +0300 Subject: [PATCH] Feat(scripts): Add `[...params...]` to usage message --- playbooks/debian-add-apache-vhost | 2 +- playbooks/debian-add-dns-domain | 2 +- playbooks/debian-init-system.sh | 2 +- playbooks/run-playbook | 2 +- playbooks/run-role | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playbooks/debian-add-apache-vhost b/playbooks/debian-add-apache-vhost index 8228910..a492090 100755 --- a/playbooks/debian-add-apache-vhost +++ b/playbooks/debian-add-apache-vhost @@ -1,7 +1,7 @@ #! /bin/sh if [ -z "$1" ]; then - echo "Usage: $0 vhost" >&2 + echo "Usage: $0 vhost [...params...]" >&2 exit 1 fi diff --git a/playbooks/debian-add-dns-domain b/playbooks/debian-add-dns-domain index 57ed031..0e2222b 100755 --- a/playbooks/debian-add-dns-domain +++ b/playbooks/debian-add-dns-domain @@ -1,7 +1,7 @@ #! /bin/sh if [ -z "$1" ]; then - echo "Usage: $0 domain" >&2 + echo "Usage: $0 domain [...params...]" >&2 exit 1 fi diff --git a/playbooks/debian-init-system.sh b/playbooks/debian-init-system.sh index d53c6a5..b55955d 100755 --- a/playbooks/debian-init-system.sh +++ b/playbooks/debian-init-system.sh @@ -1,7 +1,7 @@ #! /bin/sh if [ -z "$1" ]; then - echo "Usage: $0 host" >&2 + echo "Usage: $0 host [...params...]" >&2 exit 1 fi diff --git a/playbooks/run-playbook b/playbooks/run-playbook index 542791b..a359ade 100755 --- a/playbooks/run-playbook +++ b/playbooks/run-playbook @@ -1,7 +1,7 @@ #! /bin/sh if [ -z "$1" ]; then - echo "Usage: $0 playbook.yml" >&2 + echo "Usage: $0 playbook.yml [...params...]" >&2 exit 1 fi diff --git a/playbooks/run-role b/playbooks/run-role index 2013fba..3c31ce0 100755 --- a/playbooks/run-role +++ b/playbooks/run-role @@ -1,7 +1,7 @@ #! /bin/sh if [ -z "$1" ]; then - echo "Usage: $0 role" >&2 + echo "Usage: $0 role [...params...]" >&2 exit 1 fi -- 2.39.5