]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - command_util.sh
command_util.sh: rename proto to header and array to c_file
[paraslash.git] / command_util.sh
index b757b2e0d29741097e649aeca38bd889b7541e70..25fc0884f009afa15ebded0bbf813475afea1d1a 100755 (executable)
@@ -178,7 +178,7 @@ com_man()
        done
 }
 
-com_array()
+com_c_file()
 {
        echo "/** \file $file_name.c $c_file_comment */"
        echo "$includes"
@@ -221,7 +221,7 @@ dump_proto()
        echo
 }
 
-com_proto()
+com_header()
 {
        echo "/** \file $file_name.h $header_comment */"
        echo
@@ -242,11 +242,11 @@ read_header
 arg="$1"
 shift
 case "$arg" in
-       "array")
-               com_array
+       "c_file")
+               com_c_file
                ;;
-       "proto")
-               com_proto
+       "header")
+               com_header
                ;;
        "man")
                com_man $*