diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/opts-runtime-parse.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); } |