Small cleanups.
authorCarl Hetherington <cth@carlh.net>
Tue, 27 Sep 2016 10:12:27 +0000 (11:12 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 27 Sep 2016 10:12:27 +0000 (11:12 +0100)
tools/dcpinfo.cc

index 24e63d844f499967130b281c0d1ab14466550b79..2779b76a5e24a090c3e27207e7e1568d55f01c47 100644 (file)
@@ -122,7 +122,7 @@ main (int argc, char* argv[])
        bool ignore_missing_assets = false;
 
        int option_index = 0;
-       while (1) {
+       while (true) {
                static struct option long_options[] = {
                        { "version", no_argument, 0, 'v' },
                        { "help", no_argument, 0, 'h' },
@@ -140,7 +140,7 @@ main (int argc, char* argv[])
 
                switch (c) {
                case 'v':
-                       cout << "dcpdiff version " << LIBDCP_VERSION << "\n";
+                       cout << "libdcp version " << LIBDCP_VERSION << "\n";
                        exit (EXIT_SUCCESS);
                case 'h':
                        help (argv[0]);