summaryrefslogtreecommitdiff
path: root/libdiskfs/opts-std-startup.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-24 02:23:57 +0000
committerRoland McGrath <roland@gnu.org>2001-08-24 02:23:57 +0000
commit87a2f14298a5e398bce74b9a9782bea6f82fd064 (patch)
tree70f6bd2a6b63c8f2d8bf8e249c85b9fbccfdf1c1 /libdiskfs/opts-std-startup.c
parent8915d2ff2b1d9b3d702a0e5a1af5929bb3895b6e (diff)
2001-08-22 Neal H Walfield <neal@cs.uml.edu>
* opts-std-startup.c (startup_options): New compatibility option: bootflags, a hidden alias to multiboot-command-line. (parse_startup_opt): Bug fix.
Diffstat (limited to 'libdiskfs/opts-std-startup.c')
-rw-r--r--libdiskfs/opts-std-startup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/opts-std-startup.c b/libdiskfs/opts-std-startup.c
index 6b462cd7..384a8231 100644
--- a/libdiskfs/opts-std-startup.c
+++ b/libdiskfs/opts-std-startup.c
@@ -55,6 +55,7 @@ startup_options[] =
{0,0,0,0, "Boot options:", -2},
{"multiboot-command-line", OPT_BOOT_CMDLINE, "ARGS", 0,
"Required for bootstrap filesystem, the multiboot kernel command line"},
+ {"bootflags", 0, 0, OPTION_ALIAS|OPTION_HIDDEN},
{"boot-init-program", OPT_BOOT_INIT_PROGRAM, "FILE", 0,
"For bootstrap filesystem, init program to run (default " _HURD_INIT ")"},
{"boot-debug-pause", OPT_BOOT_PAUSE, 0, 0,
@@ -106,7 +107,7 @@ parse_startup_opt (int opt, char *arg, struct argp_state *state)
case OPT_BOOT_INIT_PROGRAM:
diskfs_boot_init_program = arg; break;
case OPT_BOOT_PAUSE:
- _diskfs_boot_pause = 1;
+ _diskfs_boot_pause = 1; break;
case 'C':
_diskfs_chroot_directory = arg; break;