diff --git a/xbps.sh b/xbps.sh index 262bb8c042b..cc11e889dd4 100755 --- a/xbps.sh +++ b/xbps.sh @@ -1402,7 +1402,7 @@ while getopts "Cc:" opt; do done shift $(($OPTIND - 1)) -[ $# -eq 0 -o $# -gt 4 ] && usage +[ $# -eq 0 -o $# -gt 2 ] && usage target="$1" if [ -z "$target" ]; then