a9373377b5
MAC: short for Monkey's Audio Codec, a lossless audio codec (files with the .ape extension). from Vlad Glagolev, with feedback from sthen and tweaks by me
29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
$OpenBSD: patch-src_Console_Console_cpp,v 1.1.1.1 2007/07/19 16:24:37 jasper Exp $
|
|
--- src/Console/Console.cpp.orig Mon Jul 16 23:50:51 2007
|
|
+++ src/Console/Console.cpp Mon Jul 16 23:53:13 2007
|
|
@@ -27,8 +27,10 @@ Displays the proper usage for MAC.exe
|
|
***************************************************************************************/
|
|
void DisplayProperUsage(FILE * pFile)
|
|
{
|
|
- fprintf(pFile, "Proper Usage: [EXE] [Input File] [Output File] [Mode]\n\n");
|
|
+ extern char *__progname;
|
|
|
|
+ fprintf(pFile, "Proper Usage: %s [Input File] [Output File] [Mode]\n\n", __progname);
|
|
+
|
|
fprintf(pFile, "Modes: \n");
|
|
fprintf(pFile, " Compress (fast): '-c1000'\n");
|
|
fprintf(pFile, " Compress (normal): '-c2000'\n");
|
|
@@ -40,9 +42,9 @@ void DisplayProperUsage(FILE * pFile)
|
|
fprintf(pFile, " Convert: '-nXXXX'\n\n");
|
|
|
|
fprintf(pFile, "Examples:\n");
|
|
- fprintf(pFile, " Compress: mac.exe \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n");
|
|
- fprintf(pFile, " Decompress: mac.exe \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n");
|
|
- fprintf(pFile, " Verify: mac.exe \"Metallica - One.ape\" -v\n");
|
|
+ fprintf(pFile, " Compress: %s \"Metallica - One.wav\" \"Metallica - One.ape\" -c2000\n", __progname);
|
|
+ fprintf(pFile, " Decompress: %s \"Metallica - One.ape\" \"Metallica - One.wav\" -d\n", __progname);
|
|
+ fprintf(pFile, " Verify: %s \"Metallica - One.ape\" -v\n", __progname);
|
|
fprintf(pFile, " (note: int filenames must be put inside of quotations)\n");
|
|
}
|
|
|