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
1 changed files with 1 additions and 1 deletions

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;