From: Andrew Chilton Date: Sat, 21 Jun 2008 13:01:37 +0000 (+1200) Subject: Correct the error messages if the issue is not found. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e9e40781b42ad3823c9a48dc064900836e7dd90b;p=cil.git Correct the error messages if the issue is not found. --- diff --git a/bin/cil b/bin/cil index 9ee4a0b..d69f03c 100755 --- a/bin/cil +++ b/bin/cil @@ -193,7 +193,7 @@ sub show { # firstly, read the issue in my $issue = CIL::Issue->new_from_name($cil, $issue_name); unless ( defined $issue ) { - fatal("Couldn't load issue '$issue'"); + fatal("Couldn't load issue '$issue_name'"); } display_issue_full($cil, $issue); } @@ -218,7 +218,7 @@ sub edit { my $issue = CIL::Issue->new_from_name($cil, $issue_name); unless ( defined $issue ) { - fatal("Couldn't load issue '$issue'"); + fatal("Couldn't load issue '$issue_name'"); } # create the ini file, then edit it @@ -241,7 +241,7 @@ sub comment { my $issue = CIL::Issue->new_from_name($cil, $issue_name); unless ( defined $issue ) { - fatal("couldn't load issue '$issue'"); + fatal("couldn't load issue '$issue_name'"); } # read in the new issue text