diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-27 08:41:51 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-27 08:41:51 +0000 |
commit | d4ba8d9108669596c325bc00cb170e64b0d99f76 (patch) | |
tree | 156d53aba7ded53c527dd13bd209c2bd393ad2ab | |
parent | acb030991c07ad33a8d55ff19e493cc26a3ea6a6 (diff) |
1998-12-27 Roland McGrath <roland@baalperazim.frob.com>
* main.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
-rw-r--r-- | ufs/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation + Copyright (C) 1994, 95, 96, 97, 98 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -162,7 +162,8 @@ main (int argc, char **argv) mach_port_t bootstrap; 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); |