Use program_name in help.
authorCarl Hetherington <cth@carlh.net>
Fri, 7 Dec 2018 21:04:02 +0000 (21:04 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 Dec 2018 21:04:02 +0000 (21:04 +0000)
src/tools/dcpomatic_kdm_cli.cc

index 4a6ea50a7abc88dd30bdcb60b841b714ad68b741..ece45c73edacb95f951cf5e8656dc95f182c1117 100644 (file)
@@ -73,7 +73,7 @@ help ()
                "For example:\n\n"
                "Create KDMs for my_great_movie to play in all of Fred's Cinema's screens for the next two weeks and zip them up.\n"
                "(Fred's Cinema must have been set up in DCP-o-matic's KDM window)\n\n"
-               "\tdcpomatic2_kdm_cli -c \"Fred's Cinema\" -f now -d \"2 weeks\" -z my_great_movie\n\n";
+               "\t" << program_name << " -c \"Fred's Cinema\" -f now -d \"2 weeks\" -z my_great_movie\n\n";
 }
 
 static void