adjust argument usage in bin/cdist-object-gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
c5590cb648
commit
c086e7fcc1
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
#
|
||||
|
||||
. cdist-config
|
||||
[ $# -eq 2 ] || __cdist_usage "<target host>" "<object>" "<remote|local>"
|
||||
[ $# -eq 3 ] || __cdist_usage "<target host>" "<object>" "<remote|local>"
|
||||
set -eu
|
||||
|
||||
__cdist_target_host="$1"; shift
|
||||
|
|
Loading…
Reference in a new issue