From 0a741ac7e42db811df0097733917db45dc05779e Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sun, 28 Dec 2014 15:48:52 +0000 Subject: Provide a mechanism for option parsing to return the number of arguments that it has consumed. This allows for the handling of multiple unnamed arguments, including lists of filenames. --- src/usr.bin/openssl/version.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.bin/openssl/version.c') diff --git a/src/usr.bin/openssl/version.c b/src/usr.bin/openssl/version.c index 953d0c3afe..2e28fa4345 100644 --- a/src/usr.bin/openssl/version.c +++ b/src/usr.bin/openssl/version.c @@ -1,4 +1,4 @@ -/* $OpenBSD: version.c,v 1.4 2014/12/28 14:21:42 jsing Exp $ */ +/* $OpenBSD: version.c,v 1.5 2014/12/28 15:48:52 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -217,7 +217,7 @@ version_main(int argc, char **argv) { memset(&version_config, 0, sizeof(version_config)); - if (options_parse(argc, argv, version_options, NULL) != 0) { + if (options_parse(argc, argv, version_options, NULL, NULL) != 0) { version_usage(); return (1); } -- cgit v1.2.3-55-g6feb