mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
Plugins/Plang: add documentation link to usage message
This commit is contained in:
parent
7a1f79ce0a
commit
696781176e
@ -75,7 +75,7 @@ sub unload {
|
||||
sub cmd_plang {
|
||||
my ($self, $context) = @_;
|
||||
|
||||
my $usage = "Usage: plang <code>; see https://github.com/pragma-/Plang";
|
||||
my $usage = "Usage: plang <code>; see https://github.com/pragma-/Plang and https://github.com/pragma-/pbot/blob/master/doc/Plugins/Plang.md";
|
||||
return $usage if not length $context->{arguments};
|
||||
|
||||
$self->{output} = ""; # collect output of the embedded Plang program
|
||||
@ -91,7 +91,7 @@ sub cmd_plang {
|
||||
sub cmd_plangrepl {
|
||||
my ($self, $context) = @_;
|
||||
|
||||
my $usage = "Usage: plangrepl <code>; see https://github.com/pragma-/Plang";
|
||||
my $usage = "Usage: plangrepl <code>; see https://github.com/pragma-/Plang and https://github.com/pragma-/pbot/blob/master/doc/Plugins/Plang.md";
|
||||
return $usage if not length $context->{arguments};
|
||||
|
||||
$self->{output} = ""; # collect output of the embedded Plang program
|
||||
|
Loading…
Reference in New Issue
Block a user