summaryrefslogtreecommitdiff
path: root/tools/spectool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/spectool.cc')
-rw-r--r--tools/spectool.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/spectool.cc b/tools/spectool.cc
index 59a56b5..a9d2bd1 100644
--- a/tools/spectool.cc
+++ b/tools/spectool.cc
@@ -439,7 +439,7 @@ void print_usage() {
" test_gen <output.spec> Generate a test "
"spectrogram.\n");
printf(
- " --wav <input.spec> <output.wav> Decode spectrogram to mono "
+ " wav <input.spec> <output.wav> Decode spectrogram to mono "
"WAV.\n");
printf("\nOptions for 'analyze':\n");
printf(
@@ -499,9 +499,9 @@ int main(int argc, char** argv) {
return 1;
}
return test_gen(argv[2]);
- } else if (strcmp(command, "--wav") == 0) {
+ } else if (strcmp(command, "wav") == 0) {
if (argc < 4) {
- printf("Error: '--wav' requires input .spec and output .wav files.\n");
+ printf("Error: 'wav' requires input .spec and output .wav files.\n");
print_usage();
return 1;
}