summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-07-07 01:50:31 +0200
committerCarl Hetherington <cth@carlh.net>2024-07-07 01:50:31 +0200
commit7755ad37d030e46ce9a0dcb35e886139fe51137e (patch)
tree85263045188cb8267d88dbcd4f2892791b901c78
parent4e8c725ec3c25093ac73d07926e235af5531e92b (diff)
Remove double ArgFixer introduced in fefcccd5.
-rw-r--r--src/tools/dcpomatic_kdm_cli.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_kdm_cli.cc b/src/tools/dcpomatic_kdm_cli.cc
index 1db5ce7f9..c30fe4e6a 100644
--- a/src/tools/dcpomatic_kdm_cli.cc
+++ b/src/tools/dcpomatic_kdm_cli.cc
@@ -33,12 +33,10 @@
int
main (int argc, char* argv[])
{
- ArgFixer fixer(argc, argv);
-
dcpomatic_setup_path_encoding ();
dcpomatic_setup ();
- auto error = kdm_cli (fixer.argc(), fixer.argv(), [](std::string s) { std::cout << s << "\n"; });
+ auto error = kdm_cli(argc, argv, [](std::string s) { std::cout << s << "\n"; });
if (error) {
std::cerr << *error << "\n";
exit (EXIT_FAILURE);