summaryrefslogtreecommitdiff
path: root/libdiskfs/opts-runtime-parse.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-10-13 23:07:55 +0000
committerMiles Bader <miles@gnu.org>1995-10-13 23:07:55 +0000
commitae66f28d73f029780864fe442b65a96469fa5b37 (patch)
tree790555b29748f4d147716f14aa0974e92fdb1647 /libdiskfs/opts-runtime-parse.c
parenta9d05ca5342548d109e8a49330572e465b110565 (diff)
(diskfs_parse_runtime_options): Use argp instead of options.
Diffstat (limited to 'libdiskfs/opts-runtime-parse.c')
-rw-r--r--libdiskfs/opts-runtime-parse.c6
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);
}