summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2013-11-05 23:35:44 +0100
committerJulien Dessaux2013-11-05 23:35:44 +0100
commit1559173ef9527ce5470a5737816787c87521ee07 (patch)
treeac28aca5cf6ecdad409fd6cf9708b0cdab9cf20e
parentFixed file permissions (diff)
downloadshbot-1559173ef9527ce5470a5737816787c87521ee07.tar.gz
shbot-1559173ef9527ce5470a5737816787c87521ee07.tar.bz2
shbot-1559173ef9527ce5470a5737816787c87521ee07.zip
Added help message for duck command
Diffstat (limited to '')
-rw-r--r--shhelp.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/shhelp.sh b/shhelp.sh
index d3566ed..db08396 100644
--- a/shhelp.sh
+++ b/shhelp.sh
@@ -1,8 +1,11 @@
-#!/bin/bash -ex
+#!/usr/bin/env bash
+set -e
case "$1" in
"advert") echo "advert <CHANNEL> : Make shbot speak the truth about himself on the specified CHANNEL."
;;
+ "duck") echo "help <TOPIC> : Prints a cute duck."
+ ;;
"help") echo "help <TOPIC> : Prints help about TOPIC."
;;
"join") echo "join <CHANNEL> : Make shbot join the specified CHANNEL."