mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +01:00
Plugins/Weather: update usage: "location" is an optional argument
This commit is contained in:
parent
71031b88a7
commit
9093c16e4a
@ -41,7 +41,7 @@ sub unload {
|
|||||||
sub weathercmd {
|
sub weathercmd {
|
||||||
my ($self, $from, $nick, $user, $host, $arguments, $stuff) = @_;
|
my ($self, $from, $nick, $user, $host, $arguments, $stuff) = @_;
|
||||||
|
|
||||||
my $usage = "Usage: weather [-u <user account>] <location>";
|
my $usage = "Usage: weather [-u <user account>] [location]";
|
||||||
Getopt::Long::Configure("bundling");
|
Getopt::Long::Configure("bundling");
|
||||||
|
|
||||||
my $getopt_error;
|
my $getopt_error;
|
||||||
|
Loading…
Reference in New Issue
Block a user