--- Readme +++ Readme @@ -17,7 +17,7 @@ * Usage Instructions -ttaenc [command] [options] file(s).. +ttaenc [command] [options] file(s) Commands: @@ -36,7 +36,7 @@ Example usage: - ttaenc -e *.wav; ttaenc -d *.tta \audio + ttaenc -e *.wav; ttaenc -d *.tta When using wildcards, only the input name can be specified. The output names will be automatically determined as the original name with the new @@ -83,4 +83,3 @@ Please visit the TTA homepage at http://tta.sourceforge.net for the latest in news and downloads. - --- ttaenc.c +++ ttaenc.c @@ -1217,10 +1217,8 @@ } void usage(void) { - fwprintf(stdout, L"usage:\t%hs [command] [options] file(s).. \n\n", MYNAME); - fwprintf(stdout, L"%hs\n", LINE); + fwprintf(stdout, L"usage:\t%hs [command] [options] file(s)\n\n", MYNAME); fwprintf(stdout, L"commands:\n"); - fwprintf(stdout, L"%hs\n", LINE); fwprintf(stdout, L"\t-e\tencode file(s)\n"); fwprintf(stdout, L"\t-d\tdecode file(s)\n"); fwprintf(stdout, L"\t-dx\tdecode file(s), wave-extensible\n"); @@ -1228,13 +1226,10 @@ fwprintf(stdout, L"\t-o name\tspecify output file name\n"); fwprintf(stdout, L"\t-v\tshow codec version\n"); fwprintf(stdout, L"\t-h\tthis help\n"); - fwprintf(stdout, L"%hs\n", LINE); fwprintf(stdout, L"options:\n"); - fwprintf(stdout, L"%hs\n", LINE); fwprintf(stdout, L"\t-u\tdelete source file if successful\n"); fwprintf(stdout, L"\t-s\tsilent mode\n"); - fwprintf(stdout, L"%hs\n", LINE); - fwprintf(stdout, L"examples:\tttaenc -e *.wav; ttaenc -d *.tta \\audio\n\n"); + fwprintf(stdout, L"examples:\tttaenc -e *.wav; ttaenc -d *.tta\n\n"); #ifdef _WIN32 fwprintf(stdout, L"Press any key to continue.."); @@ -1395,7 +1390,7 @@ #endif fwprintf(stdout, L"TTA1 lossless audio encoder/decoder, release %hs\n%hs\n", VERSION, COPYRIGHT); - fwprintf(stdout, L"For more information see %hs\n%hs\n", PROJECT_URL, LINE); + fwprintf(stdout, L"For more information see %hs\n\n", PROJECT_URL); total_input_bytes = total_output_bytes = 0; *out_path = *file_in = *file_out = L'\0';