diff options
author | Stefan Kangas <skangas@skangas.se> | 2012-09-09 14:29:49 +0200 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2012-09-09 14:29:49 +0200 |
commit | 68bc524eb0ad9b203b05b6a4d902f4449967e510 (patch) | |
tree | 6c055dd641fcf6cf2537b84b94bd123194189615 /fripost | |
parent | 1e6179ff7b4724c5d907f9f922e8b9767c3f6b56 (diff) |
Do not give "unknown command" when the user gave command ''
Diffstat (limited to 'fripost')
-rwxr-xr-x | fripost | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ elsif ($cmd eq 'search-alias') { else { pod2usage( -exitstatus => 1, -verbose => 0, - -msg => "Unknown command: `$cmd'."); + -msg => length $cmd > 0 ? "Unknown command: `$cmd'." : '' ); } |