From ae66f28d73f029780864fe442b65a96469fa5b37 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 13 Oct 1995 23:07:55 +0000 Subject: (diskfs_parse_runtime_options): Use argp instead of options. --- libdiskfs/opts-runtime-parse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libdiskfs/opts-runtime-parse.c') diff --git a/libdiskfs/opts-runtime-parse.c b/libdiskfs/opts-runtime-parse.c index d46d3175..1df679df 100644 --- a/libdiskfs/opts-runtime-parse.c +++ b/libdiskfs/opts-runtime-parse.c @@ -22,7 +22,9 @@ error_t diskfs_parse_runtime_options (int argc, char **argv, - struct options *standard_options) + struct argp *standard_argp) { - return options_parse (standard_options, argc, argv, 0, 0); + return argp_parse (standard_argp, argc, argv, + ARGP_NO_ERRS | ARGP_NO_HELP | ARGP_PARSE_ARGV0, + 0); } -- cgit v1.2.3