Add very basic online help to devel/upload
authorGuido Trotter <ultrotter@google.com>
Tue, 25 Nov 2008 17:10:33 +0000 (17:10 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 25 Nov 2008 17:10:33 +0000 (17:10 +0000)
Reviewed-by: imsnah

devel/upload.in

index b408a7b..32e553e 100644 (file)
@@ -35,6 +35,10 @@ while [ "$#" -gt 0 ]; do
     --no-restart)
       NO_RESTART=1
     ;;
+    -h|--help)
+      echo "Usage: $0 [--no-restart] hosts..."
+      exit 0
+      ;;
     -*)
       echo "Unknown option: $opt" >&2
       exit 1