mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
hwstub tools: fix/improve usage help
Change-Id: Id1afbe8adaf29887fc97c570ae33127a40a046b6
This commit is contained in:
parent
860582a63a
commit
2facad7424
2 changed files with 3 additions and 4 deletions
|
|
@ -107,12 +107,11 @@ void usage(void)
|
||||||
{
|
{
|
||||||
printf("usage: hwstub_load [options] <addr> <file>\n");
|
printf("usage: hwstub_load [options] <addr> <file>\n");
|
||||||
printf("options:\n");
|
printf("options:\n");
|
||||||
printf(" --help/-? Display this help\n");
|
printf(" --help/-h Display this help\n");
|
||||||
printf(" --quiet/-q Quiet output\n");
|
printf(" --quiet/-q Quiet output\n");
|
||||||
printf(" --verbose/-v Verbose output\n");
|
printf(" --verbose/-v Verbose output\n");
|
||||||
printf(" --type/-t <t> Override file type\n");
|
printf(" --type/-t <t> Override file type\n");
|
||||||
printf(" --dev/-d <uri> Device URI (see below)\n");
|
printf(" --dev/-d <uri> Device URI (see below)\n");
|
||||||
printf(" --verbose/-v Display debug output\n");
|
|
||||||
printf(" --noload Skip loading stage and only execute the given address\n");
|
printf(" --noload Skip loading stage and only execute the given address\n");
|
||||||
printf(" --noexec Skip execute stage and only load data the given address\n");
|
printf(" --noexec Skip execute stage and only load data the given address\n");
|
||||||
printf("file types:\n");
|
printf("file types:\n");
|
||||||
|
|
@ -123,7 +122,7 @@ void usage(void)
|
||||||
for(int i = 0; players[i].name; i++)
|
for(int i = 0; players[i].name; i++)
|
||||||
printf(" %s", players[i].name);
|
printf(" %s", players[i].name);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
//hwstub::usage_uri(stdout);
|
hwstub::uri::print_usage(stdout, true, false);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1341,7 +1341,7 @@ void usage(void)
|
||||||
printf(" --debug-rw Print read/write\n");
|
printf(" --debug-rw Print read/write\n");
|
||||||
printf("Relative order of -e and -f commands are preserved.\n");
|
printf("Relative order of -e and -f commands are preserved.\n");
|
||||||
printf("Unless specified, the shell will load soc desc in regtools/desc/\n");
|
printf("Unless specified, the shell will load soc desc in regtools/desc/\n");
|
||||||
//usage_uri(stdout);
|
hwstub::uri::print_usage(stdout, true, false);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue