changeset 24:75c0cedc20ee

Merge
author Edho Prima Arief <me@myconan.net>
date Wed, 05 Jan 2011 16:23:12 +0700
parents d50d30694399 (current diff) 738a2da8b79c (diff)
children e0b9a89a559d
files
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
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