diff options
Diffstat (limited to 'pkgup')
| -rwxr-xr-x | pkgup | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ rpmdate=$(LC_ALL="C" date +"%a %b %d %Y") rpmdate=${rpmdate/ 0/ } name=$(basename $PWD) -if [ $# -lt 2 ]; then - echo "usage $0 version commit [ date [ spec ]]" +if [ $# -lt 1 ]; then + echo "usage $0 version [commit [ date [ spec ]]]" exit 1 fi if [ x$3 = x ]; then |
