summaryrefslogtreecommitdiffstats
path: root/pkgup
diff options
context:
space:
mode:
Diffstat (limited to 'pkgup')
-rwxr-xr-xpkgup4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgup b/pkgup
index f939d1f..f8f1181 100755
--- a/pkgup
+++ b/pkgup
@@ -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