projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e17b47
)
minor tweak to exit code handling
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 06:46:00 +0000
(06:46 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 06:46:00 +0000
(06:46 +0000)
src/flac/main.c
patch
|
blob
|
history
diff --git
a/src/flac/main.c
b/src/flac/main.c
index 782224ba4fa5adbbc402a17260c3e67ea1f67607..4bd64ff334547dd0e879f0deae0afa4494f8f11c 100644
(file)
--- a/
src/flac/main.c
+++ b/
src/flac/main.c
@@
-504,7
+504,8
@@
int usage(const char *message, ...)
fprintf(stderr, " -fu : unsigned samples (default is signed)\n");
fprintf(stderr, " -fr : force to raw format (even if filename ends in .wav)\n");
fprintf(stderr, " -fw : force to RIFF WAVE\n");
- return 1;
+
+ return message? 1 : 0;
}
int encode_file(const char *infilename, const char *forced_outfilename)