summaryrefslogtreecommitdiff
path: root/src/util/vercmp.c
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2017-12-17 14:28:23 -0500
committerAllan McRae <allan@archlinux.org>2018-01-06 13:23:05 +1000
commiteba623b44377682534763b4222a660d3e6d60932 (patch)
tree94c111e8ea0bf795970bf74919b514028151b519 /src/util/vercmp.c
parent59bb21fce369e6453e00791cbb788e502e4039e9 (diff)
downloadpacman-eba623b44377682534763b4222a660d3e6d60932.tar.xz
vercmp: remove --usage variant of the -help option
I think two ways to ask for this are enough for everyone, and we have never documented this anyway. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util/vercmp.c')
-rw-r--r--src/util/vercmp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/vercmp.c b/src/util/vercmp.c
index 3521a96a..0b5d4508 100644
--- a/src/util/vercmp.c
+++ b/src/util/vercmp.c
@@ -49,8 +49,7 @@ int main(int argc, char *argv[])
return 2;
}
if(argc > 1 &&
- (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0
- || strcmp(argv[1], "--usage") == 0)) {
+ (strcmp(argv[1], "-h") == 0 || strcmp(argv[1], "--help") == 0)) {
usage();
return 0;
}