summaryrefslogtreecommitdiff
path: root/shhelp.sh
blob: c2bd9c480a1dd5a1a9fefc5663affd8d2e70d14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash -ex

case "$1" in
	"advert") echo "advert <CHANNEL> : Make shbot speak the truth about himself on the specified CHANNEL."
	;;
	"help") echo "help <TOPIC> : Prints help about TOPIC."
	;;
	"join") echo "join <CHANNEL> : Make shbot join the specified CHANNEL."
	;;
	"part") echo "part <CHANNEL> : Make shbot part the specified CHANNEL."
	;;
	"quote") echo "quote [OWNER QUOTE] :"
	echo "    Without arguments : prints a random quote."
	echo "    if OWNER and QUOTE are provided : save the quote for posterity and legend."
	;;
	"trains") echo "trains [STATION] : Prints the next trains that will stop at Courbevoie's station."
	echo "    When provided, only results that concerns STATION are advertised."
	;;
	*) echo "The following commands are available : advert help join part quote trains"
	;;
esac

exit 0