diff options
Diffstat (limited to 'cue-bin-split.c')
-rw-r--r-- | cue-bin-split.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cue-bin-split.c b/cue-bin-split.c index 24f99e0..ff384f2 100644 --- a/cue-bin-split.c +++ b/cue-bin-split.c @@ -38,6 +38,7 @@ void die_help() { fprintf(stderr, + "\n" "Options: \n" " -r bitrate_Hz\n" " -c channel_count\n" @@ -116,8 +117,8 @@ int main(int argc, char **argv) rate <= 0 || sample_size <= 0) { - fprintf(stderr, "Channel count, bitrate and sample size must all be positive\n"); - return EXIT_FAILURE; + fprintf(stderr, "ERROR: Channel count, bitrate and sample size must all be positive\n"); + die_help(); } /* Open it up */ |