summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/carray.sh14
1 files changed, 8 insertions, 6 deletions
diff --git a/scripts/carray.sh b/scripts/carray.sh
index fb985c86..a2b05d31 100755
--- a/scripts/carray.sh
+++ b/scripts/carray.sh
@@ -2,12 +2,14 @@
function usage()
{
- echo "Usage:"
- echo " $0 [options]"
- echo "Options:"
- echo " -h Display help or usage"
- echo " -i <input_config> Input config file"
- echo " -l <variable_list> List of variables in the array (Optional)"
+ cat <<EOF >&2
+Usage: $0 [options]
+
+Options:
+ -h Display help or usage
+ -i <input_config> Input config file
+ -l <variable_list> List of variables in the array (Optional)
+EOF
exit 1;
}