From b66e984ce8dce96cc65b71f9f612b5818dece8ec Mon Sep 17 00:00:00 2001 From: jonas Date: Thu, 11 May 2023 13:26:16 +0200 Subject: [PATCH] Fixed missing product name prefix in control --- new-package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/new-package.sh b/new-package.sh index 56ab153..898b02f 100644 --- a/new-package.sh +++ b/new-package.sh @@ -55,7 +55,7 @@ pkgType="default" weblinks=() # Read command flags -while getopts ":d:g:n:t:e:u:i:v:l:" flag +while getopts ":d:g:n:t:e:u:i:v:l:h:" flag do case "${flag}" in d) productDescription="${OPTARG}";; @@ -69,6 +69,7 @@ do l) weblinks+=("${OPTARG}");; *) echo "Unrecognized option '${flag}'" + h) usage exit 0 ;; @@ -124,7 +125,7 @@ cat >control <