aboutsummaryrefslogtreecommitdiffstats
path: root/gen/strgen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gen/strgen.sh')
-rwxr-xr-xgen/strgen.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/gen/strgen.sh b/gen/strgen.sh
index 53acece8c06c..27edf9a1355d 100755
--- a/gen/strgen.sh
+++ b/gen/strgen.sh
@@ -32,18 +32,17 @@ export LC_CTYPE=C
progname=${0##*/}
-if [ $# -lt 4 ]; then
- echo "usage: $progname input output name header [label [define [remove_tabs]]]"
+if [ $# -lt 3 ]; then
+ echo "usage: $progname input output name [label [define [remove_tabs]]]"
exit 1
fi
input="$1"
output="$2"
name="$3"
-header="$4"
-label="$5"
-define="$6"
-remove_tabs="$7"
+label="$4"
+define="$5"
+remove_tabs="$6"
exec < "$input"
exec > "$output"