diff setup @ 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 73123c5ef818
children 175848778e77
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