Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bin/crypt] added 'help' command

  • Loading branch information...
commit 42e66425fb83f4eb2cce4ddbe5d5215b5163ed82 1 parent 4d8064f
Carl Mäsak authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/crypt
7 bin/crypt
View
@@ -358,6 +358,13 @@ multi MAIN() {
$command .= lc;
$command .= trim;
+ when /^help>>/|"h"|"?" {
+ say "Here are some (made-up) examples of commands you can use:";
+ say "";
+ say "look";
+ say "[walk] north/south/east/west";
+ }
+
my $verb = $command.words[0];
my @args = $command.words[1..*];
when %commands.exists($verb) {
Please sign in to comment.
Something went wrong with that request. Please try again.