Changed a degugging text about command parameters

This commit is contained in:
Thomas Schmitt 2012-03-10 15:35:08 +00:00
parent 95451fa308
commit 6064c77acf
2 changed files with 3 additions and 3 deletions

View File

@ -889,10 +889,10 @@ next_command:;
ret= Xorriso_count_args(xorriso, argc - *idx, argv + *idx, &arg_count, 1); ret= Xorriso_count_args(xorriso, argc - *idx, argv + *idx, &arg_count, 1);
if((ret == 1 || ret == 2) && if((ret == 1 || ret == 2) &&
strcmp(argv[*idx], xorriso->list_delimiter) != 0) { strcmp(argv[*idx], xorriso->list_delimiter) != 0) {
sprintf(xorriso->info_text, "Command: %s", argv[*idx]); sprintf(xorriso->info_text, "Command: %s", argv[*idx]);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
for(i= 1; i <= arg_count && *idx + i < argc; i++) { for(i= 1; i <= arg_count && *idx + i < argc; i++) {
sprintf(xorriso->info_text, "Argument: %s", argv[*idx + i]); sprintf(xorriso->info_text, "Parameter: %s", argv[*idx + i]);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
} }
if(*idx + arg_count >= argc) { if(*idx + arg_count >= argc) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.03.10.150003" #define Xorriso_timestamP "2012.03.10.153518"