summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-11-05 02:25:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-11-05 02:25:12 +0100
commitd4780b4f3ed6c46f5f75e2e53869e33e1fa45856 (patch)
tree2d3f480409b60d15db4828f82c276497850d7d63 /anim-crop-tool/main.cpp
parentf582c8815b9388c850436db8d90323d2a05cee1e (diff)
a
Diffstat (limited to 'anim-crop-tool/main.cpp')
-rw-r--r--anim-crop-tool/main.cpp4
1 files changed, 2 insertions, 2 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())