git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Exit successfully on -help
[openafs.git]
/
src
/
viced
/
viced.c
diff --git
a/src/viced/viced.c
b/src/viced/viced.c
index
2ed8324
..
e47bcbc
100644
(file)
--- a/
src/viced/viced.c
+++ b/
src/viced/viced.c
@@
-1165,6
+1165,9
@@
ParseArgs(int argc, char *argv[])
CMD_OPTIONAL, "configuration location");
code = cmd_Parse(argc, argv, &opts);
+ if (code == CMD_HELP) {
+ exit(0);
+ }
if (code)
return -1;