From f9f2ef0f95e9d3f56042d491c190e6c331a5a954 Mon Sep 17 00:00:00 2001 From: George Wu Date: Wed, 24 Apr 2019 20:06:15 +0200 Subject: [PATCH] hca2wav now correctly supports key modifier in commandline (@esterTion) --- src/apps/hca2wav/hca2wav.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/hca2wav/hca2wav.cpp b/src/apps/hca2wav/hca2wav.cpp index 7013a2f..eeee7c6 100644 --- a/src/apps/hca2wav/hca2wav.cpp +++ b/src/apps/hca2wav/hca2wav.cpp @@ -31,7 +31,10 @@ int main(int argc, const char *argv[]) { argv0 = const_cast(argv); #endif - if (!(argc0 == 3 || argc0 == 5)) { + if (!(argc0 == 3 || // exe in out + argc0 == 5 || // exe in out k1 k2 + argc == 6 // exe in out k1 k2 km + )) { PrintHelp(); return 0; }