From b7fc4aa9a6bd15ce9780d46a425971d523c10b92 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 5 Mar 2026 22:20:27 +0100 Subject: fix(spectool): rename --wav flag to wav subcommand for consistency Co-Authored-By: Claude Sonnet 4.6 --- tools/spectool.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/spectool.cc') 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 Generate a test " "spectrogram.\n"); printf( - " --wav Decode spectrogram to mono " + " 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; } -- cgit v1.2.3