diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-27 08:42:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-27 08:42:21 +0000 |
commit | 516feac0c4c76a1ad40da1525af9946fadd4bbbd (patch) | |
tree | 46db78b7a8a74b2605ac7e5a03e082c193342e29 | |
parent | d4ba8d9108669596c325bc00cb170e64b0d99f76 (diff) |
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
-rw-r--r-- | ext2fs/ext2fs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c index ffb9b203..7e52d61b 100644 --- a/ext2fs/ext2fs.c +++ b/ext2fs/ext2fs.c @@ -139,7 +139,8 @@ main (int argc, char **argv) mach_port_t bootstrap = MACH_PORT_NULL; struct store_argp_params store_params = { 0 }; - argp_parse (&startup_argp, argc, argv, 0, 0, &store_params); + /* XXX diskfs's --boot-command needs us to use ARGP_IN_ORDER */ + argp_parse (&startup_argp, argc, argv, ARGP_IN_ORDER, NULL, &store_params); store_parsed = store_params.result; err = store_parsed_name (store_parsed, &diskfs_disk_name); |