projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37cbee9
)
Fix --help option in dinitcheck
author
Davin McCall
<davmac@davmac.org>
Sun, 22 Dec 2019 10:25:05 +0000
(20:25 +1000)
committer
Davin McCall
<davmac@davmac.org>
Sun, 22 Dec 2019 10:25:05 +0000
(20:25 +1000)
src/dinitcheck.cc
patch
|
blob
|
history
diff --git
a/src/dinitcheck.cc
b/src/dinitcheck.cc
index b074df15200bb41e39dde511b7efb8abaf932bc2..140ee2ba4189c5b9b34f0dc6489abc98a5ada1d5 100644
(file)
--- a/
src/dinitcheck.cc
+++ b/
src/dinitcheck.cc
@@
-86,7
+86,7
@@
int main(int argc, char **argv)
return 1;
}
}
- else if (strcmp(argv[i], "--help")) {
+ else if (strcmp(argv[i], "--help")
== 0
) {
cout << "dinitcheck: check dinit service descriptions\n"
" --help display help\n"
" --services-dir <dir>, -d <dir>\n"