Only write tool name into help, not its full path.
authorCarl Hetherington <cth@carlh.net>
Mon, 25 Dec 2023 20:43:10 +0000 (21:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 25 Dec 2023 20:43:10 +0000 (21:43 +0100)
tools/dcpverify.cc

index 6e8e5f0d87624cd24000b1f0f278b6a0ab7ab2d7..0ef256eb03976f432891a0656f5b03af173e1935 100644 (file)
@@ -109,7 +109,7 @@ main (int argc, char* argv[])
                        cout << "dcpverify version " << dcp::version << "\n";
                        exit (EXIT_SUCCESS);
                case 'h':
-                       help (argv[0]);
+                       help(boost::filesystem::path(argv[0]).filename().string());
                        exit (EXIT_SUCCESS);
                case 'A':
                        ignore_missing_assets = true;