Skip to content
Browse files

[bin/crypt] added 'help' command

  • Loading branch information...
1 parent 4d8064f commit 42e66425fb83f4eb2cce4ddbe5d5215b5163ed82 @masak committed Jul 6, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/crypt
View
7 bin/crypt
@@ -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) {

0 comments on commit 42e6642

Please sign in to comment.
Something went wrong with that request. Please try again.