aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-01-21 10:05:04 +0100
committerSitaram Chamarty <sitaram@atc.tcs.com>2016-01-21 18:25:29 +0530
commit17f42078169bc49aa24805c1db6f4e6f43199222 (patch)
tree486f52d1c31f1ec32ad9934d7a356eacb6d1be30
parentsshkeys-lint: remove a couple of subs... (diff)
downloadgitolite-gentoo-17f42078169bc49aa24805c1db6f4e6f43199222.tar.gz
gitolite-gentoo-17f42078169bc49aa24805c1db6f4e6f43199222.tar.bz2
gitolite-gentoo-17f42078169bc49aa24805c1db6f4e6f43199222.zip
(minor) make sure <user> was passed in access command
-rwxr-xr-xsrc/commands/access2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/access b/src/commands/access
index c342949..4209b7e 100755
--- a/src/commands/access
+++ b/src/commands/access
@@ -41,7 +41,7 @@ Notes:
the username and use ^C as the permission to check for.
=cut
-usage() if not @ARGV or $h;
+usage() if not @ARGV >= 2 or $h;
my ( $repo, $user, $aa, $ref ) = @ARGV;
# default access is '+'