From d99438324bec524a4985b42acffd41026ff8261c Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 3 May 2010 15:42:14 +0800 Subject: [PATCH] change the option --daemon to --upload --- xbboot/host-app/host_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xbboot/host-app/host_main.c b/xbboot/host-app/host_main.c index 955a35e..e31763c 100644 --- a/xbboot/host-app/host_main.c +++ b/xbboot/host-app/host_main.c @@ -71,7 +71,7 @@ int main(int argc, char** argv) return EXIT_FAILURE; } - if (!strcmp(argv[1], "-d") || !strcmp(argv[1], "--daemon")) { + if (!strcmp(argv[1], "-u") || !strcmp(argv[1], "--upload")) { if (argc != 4) { show_help(); goto xquit; @@ -424,7 +424,7 @@ void show_help() "xbboot [vendor_request] ... (must run as root)\n" " -h --help print this help message\n" " -v --version print the version number\n" - " [-d | --daemon]
\n" + " [-u | --upload]
upload file at to
then jump to
\n" "\n" " bulk_read read len bulk bytes from USB, write to stdout\n" " bulk_write write file at to USB\n"