Added help text for inofficial command -test
This commit is contained in:
parent
4d04dc89e8
commit
45dd26b064
@ -1822,6 +1822,31 @@ next_command:;
|
||||
"xorriso_test: Xorriso__severity_cmp(\"%s\", \"%s\")= %d\n",
|
||||
sev1, sev2, ret);
|
||||
|
||||
} else if(strcmp(arg1, "help") == 0) {
|
||||
fprintf(stderr, "-test [mode] [arguments]\n");
|
||||
fprintf(stderr, " push\n");
|
||||
fprintf(stderr, " perform Xorriso_push_outlists()\n");
|
||||
fprintf(stderr, " pull\n");
|
||||
fprintf(stderr, " perform Xorriso_pull_outlists() and show messages\n");
|
||||
fprintf(stderr, " fetch\n");
|
||||
fprintf(stderr, " perform Xorriso_fetch_outlists() and show\n");
|
||||
fprintf(stderr, " peek\n");
|
||||
fprintf(stderr, " perform Xorriso_peek_outlists()\n");
|
||||
fprintf(stderr, " sleep_peek\n");
|
||||
fprintf(stderr, " sleep 1 s and perform Xorriso_peek_outlists()\n");
|
||||
fprintf(stderr, " peek_loop\n");
|
||||
fprintf(stderr, " wait for up to 3s in Xorriso_peek_outlists()\n");
|
||||
fprintf(stderr, " for return value 0 or -1\n");
|
||||
fprintf(stderr, " start\n");
|
||||
fprintf(stderr, " perform Xorriso_start_msg_watcher()\n");
|
||||
fprintf(stderr, " stop\n");
|
||||
fprintf(stderr, " perform Xorriso_stop_msg_watcher()\n");
|
||||
fprintf(stderr, " parse line prefix separators max_words flag\n");
|
||||
fprintf(stderr, " parse by Xorriso_parse_line(xorriso, ...)\n");
|
||||
fprintf(stderr, " nullparse line prefix separators max_words flag\n");
|
||||
fprintf(stderr, " parse by Xorriso_parse_line(NULL, ...)\n");
|
||||
fprintf(stderr, " severity_cmp sev1 sev2\n");
|
||||
fprintf(stderr, " perform Xorriso__severity_cmp()\n");
|
||||
} else {
|
||||
fprintf(stderr, "xorriso -test: unknwon mode: %s\n", arg1);
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2012.11.26.070128"
|
||||
#define Xorriso_timestamP "2012.11.26.070212"
|
||||
|
Loading…
Reference in New Issue
Block a user