aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/generate-libdir-metafile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/generate-libdir-metafile.sh b/scripts/generate-libdir-metafile.sh
index 78c3fe83..8b25cbef 100755
--- a/scripts/generate-libdir-metafile.sh
+++ b/scripts/generate-libdir-metafile.sh
@@ -19,11 +19,15 @@ function print_pd_text ()
if [ $# -lt 2 ]; then
echo "Usage: $0 BASE_DIR LIBNAME [ meta types ] "
+ echo " "
+ echo " meta types: "
echo " --author"
echo " --copyright"
echo " --description"
echo " --keywords"
echo " --license"
+ echo " --version"
+ echo " "
else
BASE_DIR="$1"; shift
@@ -60,6 +64,9 @@ while [ $# -ge 1 ]; do
--license)
print_pd_text "${libdir_file_name}" LICENSE "$2"
;;
+ --version)
+ print_pd_text "${libdir_file_name}" VERSION "$2"
+ ;;
*)
echo "ERROR: unknown flag: $1 with data: $2"
;;