summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-27 08:41:51 +0000
committerRoland McGrath <roland@gnu.org>1998-12-27 08:41:51 +0000
commitd4ba8d9108669596c325bc00cb170e64b0d99f76 (patch)
tree156d53aba7ded53c527dd13bd209c2bd393ad2ab
parentacb030991c07ad33a8d55ff19e493cc26a3ea6a6 (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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ufs/main.c b/ufs/main.c
index 6116792b..dfbfeda3 100644
--- a/ufs/main.c
+++ b/ufs/main.c
@@ -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);