mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Plugins/Weather: improve usage message
This commit is contained in:
parent
7a0de62612
commit
7645dce361
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user