summaryrefslogtreecommitdiffstats
path: root/scripts/gensync.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gensync.in')
-rwxr-xr-xscripts/gensync.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/gensync.in b/scripts/gensync.in
index a8e782fd..7898f286 100755
--- a/scripts/gensync.in
+++ b/scripts/gensync.in
@@ -78,11 +78,6 @@ check_force () {
# PROGRAM START
-if [ $# -lt 2 ]; then
- usage
- exit 1
-fi
-
if [ "$1" = "-h" -o "$1" = "--help" ]; then
usage
exit 0
@@ -93,6 +88,11 @@ if [ "$1" = "-V" -o "$1" = "--version" ]; then
exit 0
fi
+if [ $# -lt 2 ]; then
+ usage
+ exit 1
+fi
+
# source system and user makepkg.conf
if [ -r /etc/makepkg.conf ]; then
source /etc/makepkg.conf