From 028f0274f8529b8384071b369c2156382f3bdfab Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Fri, 22 Mar 2013 18:15:15 +0100 Subject: [PATCH] Added help text. --- prj-create-repo.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.30.2