Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[bin/crypt] added 'help' command

  • Loading branch information...
commit 42e66425fb83f4eb2cce4ddbe5d5215b5163ed82 1 parent 4d8064f
Carl Mäsak authored July 06, 2012

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. 7  bin/crypt
7  bin/crypt
@@ -358,6 +358,13 @@ multi MAIN() {
358 358
             $command .= lc;
359 359
             $command .= trim;
360 360
 
  361
+            when /^help>>/|"h"|"?" {
  362
+                say "Here are some (made-up) examples of commands you can use:";
  363
+                say "";
  364
+                say "look";
  365
+                say "[walk] north/south/east/west";
  366
+            }
  367
+
361 368
             my $verb = $command.words[0];
362 369
             my @args = $command.words[1..*];
363 370
             when %commands.exists($verb) {

0 notes on commit 42e6642

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