Update factset usage to reflect optional channel

This commit is contained in:
Pragmatic Software 2017-08-27 02:44:35 -07:00
parent 2e249b079a
commit 73bc7cebe4
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ sub factset {
$args .= " $rest" if defined $rest;
}
my ($channel, $trigger, $arguments) = $self->find_factoid_with_optional_channel($from, $args, 'factset', 'Usage: factset <channel> <factoid> [key [value]]');
my ($channel, $trigger, $arguments) = $self->find_factoid_with_optional_channel($from, $args, 'factset', 'Usage: factset [channel] <factoid> [key [value]]');
return $channel if not defined $trigger; # if $trigger is not defined, $channel is an error message
my ($key, $value) = split / /, $arguments, 2;