summaryrefslogtreecommitdiff
path: root/shhelp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'shhelp.sh')
-rwxr-xr-xshhelp.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/shhelp.sh b/shhelp.sh
new file mode 100755
index 0000000..27d1b8f
--- /dev/null
+++ b/shhelp.sh
@@ -0,0 +1,14 @@
+#!/bin/bash -ex
+
+case "$1" in
+ "help") echo "help <TOPIC> : Prints help about TOPIC."
+ ;;
+ "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 : help trains"
+ ;;
+esac
+
+exit 0
+