From 528d247ea3426830482c33ef07a654a72291bb05 Mon Sep 17 00:00:00 2001 From: Jake Date: Thu, 26 Dec 2019 23:12:49 -0800 Subject: [PATCH] Added some command line argument clarity. --- lpsdecoder/lpsdecoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lpsdecoder/lpsdecoder.cpp b/lpsdecoder/lpsdecoder.cpp index 10423cf..995d5d0 100644 --- a/lpsdecoder/lpsdecoder.cpp +++ b/lpsdecoder/lpsdecoder.cpp @@ -30,9 +30,9 @@ int main(int argc, char* argv[], char* envp[]) options.add_options() ("h,help", "Help", cxxopts::value(showHelp)) ("f,file", "LPS Filename", cxxopts::value(filename)) - ("e,extract-only", "Extract Only (Don't convert to wav)", cxxopts::value(extractOnly)) + ("e,extract-only", "Extract Only (Don't convert to wav)", cxxopts::value(extractOnly)->default_value("false")) ("c,clean-up-ss2", "Clean up SS2 files after converting to wav", cxxopts::value(cleanUpSS2)->default_value("true")) - ("v,path-to-vgm-stream", "Path to VGMStream", cxxopts::value(pathToVGMStream)) + ("v,path-to-vgm-stream", "Path to VGMStream", cxxopts::value(pathToVGMStream)->default_value(pathToVGMStream)) ; auto result = options.parse(argc, argv);