adjust argument usage in bin/cdist-object-gencode

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-19 22:26:00 +01:00
parent c5590cb648
commit c086e7fcc1

View file

@ -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