[syslinux] [PATCH 8/8] libinstaller/syslxopt.c: update the help text.

Robert Yang liezhi.yang at windriver.com
Wed Dec 24 00:16:15 PST 2014


We support both device and directory as the target now.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 libinstaller/syslxopt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c
index 3fc5519..d06719f 100644
--- a/libinstaller/syslxopt.c
+++ b/libinstaller/syslxopt.c
@@ -88,7 +88,7 @@ void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode)
 	/* Mounted fs installation (extlinux) */
 	/* Actually extlinux can also use -d to provide a directory too... */
 	fprintf(stderr,
-	    "Usage: %s [options] directory\n"
+	    "Usage: %s [options] <directory|device>\n"
 	    "  --device         Force use of a specific block device (experts only)\n",
 	    program);
 	break;
-- 
1.9.1



More information about the Syslinux mailing list