[pacman-dev] [PATCH 2/3] vercmp: remove --usage variant of the -help option

2017-12-17 Thread Eli Schwartz
I think two ways to ask for this are enough for everyone, and we have never documented this anyway. Signed-off-by: Eli Schwartz --- src/util/vercmp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/vercmp.c b/src/util/vercmp.c index

[pacman-dev] [PATCH 3/3] vercmp: fix incorrect info in the manpage

2017-12-17 Thread Eli Schwartz
Signed-off-by: Eli Schwartz --- doc/vercmp.8.txt | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/vercmp.8.txt b/doc/vercmp.8.txt index 5316b3cb..18819953 100644 --- a/doc/vercmp.8.txt +++ b/doc/vercmp.8.txt @@ -11,7 +11,7 @@ vercmp -

[pacman-dev] [PATCH 1/3] vercmp: fail when the wrong number of arguments are provided

2017-12-17 Thread Eli Schwartz
Fixes FS#49093 Signed-off-by: Eli Schwartz --- src/util/vercmp.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/util/vercmp.c b/src/util/vercmp.c index 3521a96a..7b34b30a 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@

[pacman-dev] [PATCH v2] vercmp: fail when the wrong number of arguments are provided

2017-12-17 Thread Eli Schwartz
Fixes FS#49093 Signed-off-by: Eli Schwartz --- v2: errors go to stderr follow style guidelines for arithmetic minor grammatical correction for error message src/util/vercmp.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git