projects
/
ganeti-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2499174
)
Add very basic online help to devel/upload
author
Guido Trotter
<ultrotter@google.com>
Tue, 25 Nov 2008 17:10:33 +0000
(17:10 +0000)
committer
Guido Trotter
<ultrotter@google.com>
Tue, 25 Nov 2008 17:10:33 +0000
(17:10 +0000)
Reviewed-by: imsnah
devel/upload.in
patch
|
blob
|
history
diff --git
a/devel/upload.in
b/devel/upload.in
index
b408a7b
..
32e553e
100644
(file)
--- a/
devel/upload.in
+++ b/
devel/upload.in
@@
-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