diff options
author | Shao Miller <shao.miller@yrdsb.edu.on.ca> | 2010-07-03 19:06:10 -0400 |
---|---|---|
committer | Shao Miller <shao.miller@yrdsb.edu.on.ca> | 2010-07-03 19:06:10 -0400 |
commit | 1fb6b70cdacaf3ca3c069a6d96434eed3b6bc22f (patch) | |
tree | 7dcd6a881e9df4ad6a43ebe7b864a4eade64e869 /libinstaller | |
parent | 07aafae7c67b32e432c26ff83279ec83e61592e4 (diff) | |
download | syslinux-1fb6b70cdacaf3ca3c069a6d96434eed3b6bc22f.tar.gz |
dos: Work-in-progress
Diffstat (limited to 'libinstaller')
-rwxr-xr-x | libinstaller/syslxopt.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c index e7f405a1..eb00dbd2 100755 --- a/libinstaller/syslxopt.c +++ b/libinstaller/syslxopt.c @@ -108,7 +108,10 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode) " --raid -r Fall back to the next device on boot failure\n" " --once=... %s Execute a command once upon boot\n" " --clear-once -O Clear the boot-once command\n" - " --reset-adv Reset auxilliary data\n" + " --reset-adv Reset auxilliary data\n", + mode == MODE_SYSLINUX ? " " : "-o"); + /* Have to chop this roughly in half for the DOS installer for some reason */ + fprintf(stderr, " --menu-save= -M Set the label to select as default on the next boot\n" " --mbr -m Install an MBR (DOS/Win32 installers only)\n" " --active -a Mark partition as active (DOS/Win32 installers only)\n" @@ -120,8 +123,7 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode) " which includes zipdisks and LS-120 superfloppies.\n" "\n" " The -z option is useful for USB devices which are considered\n" - " hard disks by some BIOSes and zipdrives by other BIOSes.\n", - mode == MODE_SYSLINUX ? " " : "-o"); + " hard disks by some BIOSes and zipdrives by other BIOSes.\n"); exit(rv); } |