update: fixup help
authorTero Marttila <terom@paivola.fi>
Fri, 16 Mar 2012 15:22:22 +0200
changeset 15 e517ad3376f7
parent 14 b883ef452cd8
child 16 6516dc848a47
update: fixup help
bin/update
--- a/bin/update	Fri Mar 16 15:17:12 2012 +0200
+++ b/bin/update	Fri Mar 16 15:22:22 2012 +0200
@@ -41,18 +41,20 @@
     cat <<END
 Usage: $prog [options]
 
+General:
     -h      display this help text
 
+Logging:    
     -q      quiet
     -v      verbose
     -D      debug
     -C      debug commands
     
+Updates:
     -p      show changes
-
     -F      force-updates without checking src mtime
     -S      do not update serial
-    -n      no-op/mock-update; do not actually change anything; implies -Sp
+    -n      no-op/mock-update; don't actually change anything; implies -Sp
 END
 }
 
@@ -62,7 +64,7 @@
     while getopts 'hqvDCpFSn' opt "$@"; do
         case $opt in
             h)  
-                help_args $1
+                help_args $0
                 exit 0
             ;;