diff options
-rw-r--r-- | anim-crop-tool/main.cpp | 4 | ||||
-rw-r--r-- | wall-tileset-tool/main.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index 2068d662..33011be5 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -187,7 +187,7 @@ static std::tuple<options, Arguments, bool> parse_cmdline(int argc, const char* { Corrade::Utility::Arguments args{}; args.addOption('o', "output").setHelp("output", "", "DIR") - .addArgument("input") + .addArgument("input.json") .addOption('W', "width", "") .addOption('H', "height", "") .addOption('F', "scale", ""); @@ -203,7 +203,7 @@ static std::tuple<options, Arguments, bool> parse_cmdline(int argc, const char* opts.scale = anim_scale::ratio{args.value<float>("scale")}; opts.output_dir = Path::join(loader.startup_directory(), args.value<StringView>("output")); - opts.input_file = Path::join(loader.startup_directory(), args.value<StringView>("input")); + opts.input_file = Path::join(loader.startup_directory(), args.value<StringView>("input.json")); opts.input_dir = Path::split(opts.input_file).first(); if (opts.output_dir.isEmpty()) diff --git a/wall-tileset-tool/main.cpp b/wall-tileset-tool/main.cpp index 727b16c2..511ef4c2 100644 --- a/wall-tileset-tool/main.cpp +++ b/wall-tileset-tool/main.cpp @@ -31,7 +31,7 @@ Triple<options, Arguments, bool> parse_cmdline(int argc, const char* const* argv { Corrade::Utility::Arguments args{}; args.addOption('o', "output"s).setHelp("output"s, ""s, "DIR"s); - args.addArgument("input"s); + args.addArgument("input.json"s); args.parse(argc, argv); options opts; //Path::exists(args.value<StringView>()); |