3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-27 05:02:34 +01:00

Plugins/Weather: update usage: "location" is an optional argument

This commit is contained in:
Pragmatic Software 2020-01-29 12:04:30 -08:00
parent 71031b88a7
commit 9093c16e4a

View File

@ -41,7 +41,7 @@ sub unload {
sub weathercmd {
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");
my $getopt_error;