diff setup @ 24:75c0cedc20ee

Merge
author Edho Prima Arief <me@myconan.net>
date Wed, 05 Jan 2011 16:23:12 +0700
parents 738a2da8b79c
children 175848778e77
line wrap: on
line diff
--- a/setup	Wed Jan 05 16:22:35 2011 +0700
+++ b/setup	Wed Jan 05 16:23:12 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