diff options
author | edk2 dev <edk2.dev@edk2.org> | 2016-02-16 10:47:30 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-02-16 10:58:40 +0800 |
commit | fbf2338143952da2c63241e51379504a15aa3ea9 (patch) | |
tree | 5a8aeabcde05048f21db1a59034e2e55c70e6a28 /BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | |
parent | d92eaabefbe0667bdd15c28c8e1fcd92a12fa97c (diff) | |
download | edk2-platforms-fbf2338143952da2c63241e51379504a15aa3ea9.tar.xz |
BaseTools-Source: Update displayed version information
Standardize the --version and --help text command-line options
Updated tools to correctly display the Build number when using command-line
option --version and exit successfully after termination.
Ecc was also updated to print informational messages after the options are
parsed.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Larry Hauch <larry.hauch@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/VfrCompiler.cpp')
-rw-r--r-- | BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp index 063266a91f..c4d77ad15f 100644 --- a/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp +++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.cpp @@ -2,7 +2,7 @@ VfrCompiler main class and main function.
-Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -412,8 +412,8 @@ CVfrCompiler::Usage ( UINT32 Index;
CONST CHAR8 *Help[] = {
" ",
- "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION,
- "Copyright (c) 2004-2014 Intel Corporation. All rights reserved.",
+ "VfrCompile version " VFR_COMPILER_VERSION "Build " __BUILD_VERSION, + "Copyright (c) 2004-2016 Intel Corporation. All rights reserved.", " ",
"Usage: VfrCompile [options] VfrFile",
" ",
@@ -451,7 +451,7 @@ CVfrCompiler::Version ( {
UINT32 Index;
CONST CHAR8 *Help[] = {
- "VfrCompile version " VFR_COMPILER_VERSION __BUILD_VERSION,
+ "VfrCompile version " VFR_COMPILER_VERSION "Build " __BUILD_VERSION, NULL
};
for (Index = 0; Help[Index] != NULL; Index++) {
|