1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 10:15:19 +02:00

change the option --daemon to --upload

This commit is contained in:
Xiangfu Liu 2010-05-03 15:42:14 +08:00
parent 086c985468
commit d99438324b

View File

@ -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] <address> <image> \n"
" [-u | --upload] <address> <path> upload file at <path> to <address> then jump to <address>\n"
"\n"
" bulk_read <len> read len bulk bytes from USB, write to stdout\n"
" bulk_write <path> write file at <path> to USB\n"