3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 23:39:24 +01:00

Plugins/Weather: improve usage message

This commit is contained in:
Pragmatic Software 2020-05-20 14:19:10 -07:00
parent 7a0de62612
commit 7645dce361

View File

@ -30,7 +30,7 @@ sub unload {
sub cmd_weather {
my ($self, $context) = @_;
my $usage = "Usage: weather [-u <user account>] [location]";
my $usage = "Usage: weather (<location> | -u <user account>)";
my $getopt_error;
local $SIG{__WARN__} = sub {
$getopt_error = shift;