aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-28 21:04:45 -0800
committerChris Robinson <[email protected]>2018-02-28 21:04:45 -0800
commit0d91d63cf32357853587be5227be3c1319fc2fba (patch)
treecff9945280c2ee5e86c4ecf62cbc1bcd60f3a086 /examples
parentabc6e37e6ec162007c90f672b1650898bd3f330d (diff)
Fix use of argv[0] as the program name after incrementing
Diffstat (limited to 'examples')
-rw-r--r--examples/almultireverb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/almultireverb.c b/examples/almultireverb.c
index 9c97e334..6f583a50 100644
--- a/examples/almultireverb.c
+++ b/examples/almultireverb.c
@@ -278,10 +278,7 @@ int main(int argc, char **argv)
}
if(argc < 1)
{
- fprintf(stderr, "Usage: %s [-device <name>] [options] <filename>\n\n"
- "Options:\n"
- "\t-nodirect\tSilence direct path output (easier to hear reverb).\n\n",
- argv[0]);
+ fprintf(stderr, "No filename spacified.\n");
CloseAL();
return 1;
}