From c02184c7378991951ffe07add1ff368a8663c18b Mon Sep 17 00:00:00 2001 From: Shao Miller Date: Mon, 19 Jul 2010 23:21:57 -0400 Subject: dos: Use libinstaller option parser We will produce an error message if a user attempts to use an option we don't implement. Signed-off-by: Shao Miller --- libinstaller/syslxopt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libinstaller') diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c index eb00dbd2..18a6baac 100644 --- a/libinstaller/syslxopt.c +++ b/libinstaller/syslxopt.c @@ -93,7 +93,8 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode) case MODE_SYSLINUX_DOSWIN: /* For fs installation under Windows (syslinux.exe) */ fprintf(stderr, - "Usage: %s [options] : [bootsecfile]\n", + "Usage: %s [options] : [bootsecfile]\n" + " --directory -d Directory for installation target\n", program); break; } @@ -123,7 +124,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"); + " hard disks by some BIOSes and zipdrives by other BIOSes."); exit(rv); } -- cgit v1.2.1