summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/asdcp-test.cpp8
-rw-r--r--src/blackwave.cpp6
-rwxr-xr-xsrc/klvwalk.cpp8
-rwxr-xr-xsrc/kmfilegen.cpp8
-rw-r--r--src/kmrandgen.cpp8
-rw-r--r--src/kmuuidgen.cpp8
-rwxr-xr-xsrc/wavesplit.cpp6
7 files changed, 26 insertions, 26 deletions
diff --git a/src/asdcp-test.cpp b/src/asdcp-test.cpp
index ba61015..c77cd89 100755
--- a/src/asdcp-test.cpp
+++ b/src/asdcp-test.cpp
@@ -66,7 +66,7 @@ const ui32_t FRAME_BUFFER_SIZE = 4 * Kumu::Megabyte;
//
// command line option parser class
-static const char* PACKAGE = "asdcp-test"; // program name for messages
+static const char* PROGRAM_NAME = "asdcp-test"; // program name for messages
const ui32_t MAX_IN_FILES = 16; // maximum number of input files handled by
// the command option parser
@@ -110,7 +110,7 @@ Copyright (c) 2003-2008 John Hurst\n\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);
+ PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME);
}
//
@@ -136,7 +136,7 @@ USAGE: %s -c <output-file> [-3] [-b <buffer-size>] [-d <duration>] [-e|-E]\n\
%s -x <file-prefix> [-3] [-b <buffer-size>] [-d <duration>]\n\
[-f <starting-frame>] [-m] [-p <frame-rate>] [-R] [-s <num>] [-S|-1]\n\
[-v] [-W] <input-file>\n\
-\n", PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE, PACKAGE);
+\n", PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME);
fprintf(stream, "\
Major modes:\n\
@@ -1769,7 +1769,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;
}
diff --git a/src/blackwave.cpp b/src/blackwave.cpp
index 628b51d..1374038 100644
--- a/src/blackwave.cpp
+++ b/src/blackwave.cpp
@@ -38,7 +38,7 @@ using namespace ASDCP;
//
// command line option parser class
-static const char* PACKAGE = "blackwave"; // program name for messages
+static const char* PROGRAM_NAME = "blackwave"; // program name for messages
// Macros used to test command option data state.
@@ -61,7 +61,7 @@ wavesplit is part of asdcplib.\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);
+ PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME);
}
//
@@ -80,7 +80,7 @@ Other Options:\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);
+\n", PROGRAM_NAME);
}
//
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<std::string> 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] <input-file> [<input-file2> ...]\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;
}
diff --git a/src/kmfilegen.cpp b/src/kmfilegen.cpp
index 3f3ba11..487f67a 100755
--- a/src/kmfilegen.cpp
+++ b/src/kmfilegen.cpp
@@ -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;
@@ -74,7 +74,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);
}
@@ -102,7 +102,7 @@ USAGE: %s [-c <file-size>] [-v] <output-file>\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;
}
diff --git a/src/kmrandgen.cpp b/src/kmrandgen.cpp
index 84f1a3d..d1098df 100644
--- a/src/kmrandgen.cpp
+++ b/src/kmrandgen.cpp
@@ -37,7 +37,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using namespace Kumu;
const ui32_t RandBlockSize = 16;
-const char* PACKAGE = "kmrandgen";
+const char* PROGRAM_NAME = "kmrandgen";
// Increment the iterator, test for an additional non-option command line argument.
// Causes the caller to return if there are no remaining arguments or if the next
@@ -59,7 +59,7 @@ Copyright (c) 2003-2008 John Hurst\n\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);
}
//
@@ -83,7 +83,7 @@ USAGE: %s [-b|-B|-c|-x] [-n] [-s <size>] [-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);
}
enum OutputFormat_t {
@@ -183,7 +183,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;
}
diff --git a/src/kmuuidgen.cpp b/src/kmuuidgen.cpp
index 1dfdf24..a7bfc42 100644
--- a/src/kmuuidgen.cpp
+++ b/src/kmuuidgen.cpp
@@ -34,7 +34,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <ctype.h>
-const char* PACKAGE = "kmuuidgen";
+const char* PROGRAM_NAME = "kmuuidgen";
// Increment the iterator, test for an additional non-option command line argument.
// Causes the caller to return if there are no remaining arguments or if the next
@@ -56,7 +56,7 @@ Copyright (c) 2003-2008 John Hurst\n\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);
}
//
@@ -76,7 +76,7 @@ USAGE: %s [-c] [-n] [-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);
}
//
@@ -154,7 +154,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;
}
diff --git a/src/wavesplit.cpp b/src/wavesplit.cpp
index f7c94c2..6836d23 100755
--- a/src/wavesplit.cpp
+++ b/src/wavesplit.cpp
@@ -39,7 +39,7 @@ using namespace ASDCP;
//
// command line option parser class
-static const char* PACKAGE = "wavesplit"; // program name for messages
+static const char* PROGRAM_NAME = "wavesplit"; // program name for messages
// Macros used to test command option data state.
@@ -74,7 +74,7 @@ wavesplit is part of asdcplib.\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);
+ PROGRAM_NAME, ASDCP::Version(), PROGRAM_NAME);
}
//
@@ -96,7 +96,7 @@ Read/Write Options:\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);
+\n", PROGRAM_NAME);
}
//