summaryrefslogtreecommitdiff
path: root/ufs
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
commit3c3060eb5246ef3fb3ccd2c1b80236bdb8b96e8b (patch)
treed0edc9655c531f8e1628009ed544a71a2af28689 /ufs
parent7d20ee2f3d07b1a609814cb8ee83d712d0581f24 (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.
Diffstat (limited to 'ufs')
-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);