Permalink
Browse files

hint about 'ubic help' on unknown command

  • Loading branch information...
1 parent fe75f82 commit b70a79b6f62658b1e317f3f72dcf91301032629d @berekuk committed Dec 7, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 Changes
  2. +1 −1 lib/Ubic/Cmd.pm
View
@@ -1,6 +1,7 @@
Revision history for Ubic
{{$NEXT}}
+ * hint about 'ubic help' on unknown command
1.48 2012-12-07
* detect ubic-watchdog location and put its full path to the crontab on setup
View
@@ -242,7 +242,7 @@ WARNING: exits on invocation!
sub usage {
my $self = _obj(shift);
my $command = shift;
- print STDERR "Unknown command '$command'\n";
+ print STDERR "Unknown command '$command'. See 'ubic help'.\n";
exit(2); # or exit(3)? see LSB for details
}

0 comments on commit b70a79b

Please sign in to comment.