summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-27 11:12:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-27 11:12:27 +0100
commit618962440a3474ab304772cda7b6aed08bb6a00a (patch)
treeae4fde8ab3430655136b99a9dbc085400a4e7aae /tools
parentff5a8396812aa3dfaa6010915199519e535fcec3 (diff)
Small cleanups.
Diffstat (limited to 'tools')
-rw-r--r--tools/dcpinfo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc
index 24e63d84..2779b76a 100644
--- a/tools/dcpinfo.cc
+++ b/tools/dcpinfo.cc
@@ -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]);