changeset 23:738a2da8b79c

Added usage information for setup script.
author Edho Prima Arief <me@myconan.net>
date Tue, 04 Jan 2011 13:24:43 +0700
parents 8fa64e01b85b
children 75c0cedc20ee
files setup
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/setup	Wed Dec 08 09:09:45 2010 +0700
+++ b/setup	Tue Jan 04 13:24:43 2011 +0700
@@ -37,6 +37,12 @@
   uninstall_tcsh
 }
 
+help() {
+  cat <<EOF
+Usage: ${0} [install|uninstall]
+EOF
+}
+
 case "$1" in
   install)
     install
@@ -44,4 +50,7 @@
   uninstall)
     uninstall
   ;;
+  *)
+    help
+  ;;
 esac