From: Rafał Długołęcki Date: Fri, 22 Mar 2013 17:15:15 +0000 (+0100) Subject: Added help text. X-Git-Tag: 0.1~4 X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=028f0274f8529b8384071b369c2156382f3bdfab;p=prj-utils.git Added help text. --- diff --git a/prj-create-repo.pl b/prj-create-repo.pl index fc8e623..d8f6e0c 100755 --- a/prj-create-repo.pl +++ b/prj-create-repo.pl @@ -5,7 +5,10 @@ use warnings; use Config::General; use Net::SSH::Perl; -# prj-create-repo.pl "login@host:path/project.git" +if (! @ARGV) { + print "USAGE: prj-create-repo.pl 'login\@host:path/project.git'\n"; + exit; +} my ($login, $host) = split(/@/, shift); my $path;