--- 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
;;