X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fklvwalk.cpp;h=9a815b76ff92423ec73c0858fc4845f7a43ba2cc;hb=3bb652da6ea2765b1538d0713cefa284238c8bdb;hp=1bf505601e123383233eaf5a909c4ec6c19af5c4;hpb=766b93f3654e6e80623a84774fce0307694340f9;p=asdcplib.git diff --git a/src/klvwalk.cpp b/src/klvwalk.cpp index 1bf5056..9a815b7 100755 --- a/src/klvwalk.cpp +++ b/src/klvwalk.cpp @@ -47,7 +47,7 @@ using Kumu::DefaultLogSink; // // command line option parser class -static const char* PACKAGE = "klvwalk"; // program name for messages +static const char* PROGRAM_NAME = "klvwalk"; // program name for messages typedef std::list FileList_t; // Increment the iterator, test for an additional non-option command line argument. @@ -70,7 +70,7 @@ Copyright (c) 2005-2008 John Hurst\n\ asdcplib may be copied only under the terms of the license found at\n\ the top of every file in the asdcplib distribution kit.\n\n\ Specify the -h (help) option for further information about %s\n\n", - PACKAGE, ASDCP::Version(), PACKAGE, PACKAGE); + PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME, PROGRAM_NAME); } // @@ -89,7 +89,7 @@ USAGE: %s [-r] [-v] [ ...]\n\ \n\ NOTES: o There is no option grouping, all options must be distinct arguments.\n\ o All option arguments must be separated from the option by whitespace.\n\ -\n", PACKAGE, PACKAGE); +\n", PROGRAM_NAME, PROGRAM_NAME); } // @@ -178,7 +178,7 @@ main(int argc, const char** argv) if ( Options.error_flag ) { - fprintf(stderr, "There was a problem. Type %s -h for help.\n", PACKAGE); + fprintf(stderr, "There was a problem. Type %s -h for help.\n", PROGRAM_NAME); return 3; }