From a23d69ff8f2b44d6eb2052f5403f21b79403b22d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 23 Apr 2014 21:18:58 +0200 Subject: fix m bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/autopasswd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/autopasswd.c') diff --git a/src/autopasswd.c b/src/autopasswd.c index 8582932..f464820 100644 --- a/src/autopasswd.c +++ b/src/autopasswd.c @@ -170,7 +170,7 @@ int main(int argc, char** argv) "Display copyright information"); args_add_option(args_new_argumentless(NULL, 0, "+w", "--warranty", NULL), "Display warranty disclaimer"); - args_add_option(args_new_argumentless(NULL, 0, "+v", "--verbose", NULL), + args_add_option(args_new_argumentless(NULL, 0, "-v", "--verbose", NULL), "Display extra information"); args_add_option(args_new_argumented(NULL, "INT", 0, "-b", "--bump-level", NULL), "Select bump level, can contain + or - to perform accumulated adjustment"); @@ -249,10 +249,10 @@ int main(int argc, char** argv) case 0: break; case '+': - bump_level += atol(arg); + bump_level += atol(arg + 1); break; case '-': - bump_level -= atol(arg); + bump_level -= atol(arg + 1); break; default: bump_level = atol(arg); -- cgit v1.2.3-70-g09d2