X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fkmfilegen.cpp;h=6f798cc6ad72b4f7dec00bf17b2d9b775278697b;hb=08da7aadab3eb7fd03eae5a9a8038ecf8d05808a;hp=9ab1f00b95dbf92dea28e2ae9b920285cf55d823;hpb=72e5392ca11c06a1ac0732c71f86df0d9a712ce3;p=asdcplib.git diff --git a/src/kmfilegen.cpp b/src/kmfilegen.cpp index 9ab1f00..6f798cc 100755 --- a/src/kmfilegen.cpp +++ b/src/kmfilegen.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2005-2006, John Hurst +Copyright (c) 2005-2009, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using namespace Kumu; // constants -static const char* PACKAGE = "kmfilegen"; // program name for messages +static const char* PROGRAM_NAME = "kmfilegen"; // program name for messages const ui32_t RNG_KEY_SIZE = 16; const ui32_t RNG_KEY_SIZE_BITS = 128; const ui32_t RNG_BLOCK_SIZE = 16; @@ -69,12 +69,12 @@ banner(FILE* stream = stdout) { fprintf(stream, "\n\ %s (asdcplib %s)\n\n\ -Copyright (c) 2005-2006 John Hurst\n\ +Copyright (c) 2005-2009 John Hurst\n\ %s is part of the asdcplib DCP tools package.\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, Kumu::Version(), PROGRAM_NAME, PROGRAM_NAME); } @@ -102,7 +102,7 @@ USAGE: %s [-c ] [-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, PACKAGE, PACKAGE); +\n", PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME); } enum MajorMode_t { @@ -574,7 +574,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; }