diff options
author | 2012-02-27 20:30:59 +0530 | |
---|---|---|
committer | 2012-02-29 06:45:31 +0530 | |
commit | f56c422d5274feadeb6b6473863ae9c366211566 (patch) | |
tree | a4cbd3be2eec050404c00932e2c47b9b4765e13a | |
parent | gl-dryrun learns '-h', plus a couple of other fixes (diff) | |
download | gitolite-gentoo-f56c422d5274feadeb6b6473863ae9c366211566.tar.gz gitolite-gentoo-f56c422d5274feadeb6b6473863ae9c366211566.tar.bz2 gitolite-gentoo-f56c422d5274feadeb6b6473863ae9c366211566.zip |
gl-conf-convert learns '-h'
-rwxr-xr-x | src/gl-conf-convert | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gl-conf-convert b/src/gl-conf-convert index 1faca4f..7b0bfee 100755 --- a/src/gl-conf-convert +++ b/src/gl-conf-convert @@ -9,6 +9,10 @@ use strict; use warnings; +if (not @ARGV and -t or $ARGV[0] eq '-h') { + print "Usage:\n gl-conf-convert < gitosis.conf > gitolite.conf\n(please the documentation for more)\n"; + exit 1; +} my @comments = (); my $groupname; |