From 106f9cc916f910726643388911a02eced92ef939 Mon Sep 17 00:00:00 2001 From: Zaahir Moolla Date: Tue, 4 Nov 2014 16:06:19 -0500 Subject: [PATCH] Don't be so quick to throw the manpage in my face This has bugged me for a long time... --- lib/App/DuckPAN.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/DuckPAN.pm b/lib/App/DuckPAN.pm index 0eb4601..ab4e5d6 100644 --- a/lib/App/DuckPAN.pm +++ b/lib/App/DuckPAN.pm @@ -242,7 +242,7 @@ sub execute { } exit $self->perl->duckpan_install(@modules) unless @left_args; } - print $self->help->help; + $self->exit_with_msg(-1, "Unknown command. Use `duckpan help` to see a list of DuckPAN commands"); exit 0; }