summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_kdm_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-07 13:12:10 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-07 13:12:10 +0200
commit30dfb151091962231a228a084fb5954b1a75574b (patch)
tree8e99ab11cbb7ceccdb7e5ced58b8a0d7e56f07a4 /src/tools/dcpomatic_kdm_cli.cc
parent7755ad37d030e46ce9a0dcb35e886139fe51137e (diff)
Re-fix incorrect ArgFixer.v2.16.88
It needs to be in the front-end, not the kdm_cli() method, otherwise the tests break.
Diffstat (limited to 'src/tools/dcpomatic_kdm_cli.cc')
-rw-r--r--src/tools/dcpomatic_kdm_cli.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_kdm_cli.cc b/src/tools/dcpomatic_kdm_cli.cc
index c30fe4e6a..4ffd0acd7 100644
--- a/src/tools/dcpomatic_kdm_cli.cc
+++ b/src/tools/dcpomatic_kdm_cli.cc
@@ -33,10 +33,12 @@
int
main (int argc, char* argv[])
{
+ ArgFixer fixer(argc, argv);
+
dcpomatic_setup_path_encoding ();
dcpomatic_setup ();
- auto error = kdm_cli(argc, argv, [](std::string s) { std::cout << s << "\n"; });
+ auto error = kdm_cli(fixer.argc(), fixer.argv(), [](std::string s) { std::cout << s << "\n"; });
if (error) {
std::cerr << *error << "\n";
exit (EXIT_FAILURE);