Skip to content

Commit dc432f5

Browse files
Updated version string
1 parent cb7fb18 commit dc432f5

File tree

6 files changed

+6
-11
lines changed

6 files changed

+6
-11
lines changed

tools/svdconv/SVDConv/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dump_cmake_project_version()
77

88
set_property(DIRECTORY PROPERTY VS_STARTUP_PROJECT svdconv)
99

10-
set(PROJECT_COPYRIGHT_NOTICE "Copyright (C) 2010-${PROJECT_VERSION_YEAR} ARM Ltd and ARM Germany GmbH. All rights reserved.")
10+
set(PROJECT_COPYRIGHT_NOTICE "(C) 2010-${PROJECT_VERSION_YEAR} Arm Ltd. and Contributors")
1111
set(PROJECT_TARGET_FILE_NAME "$<TARGET_FILE_NAME:svdconv>")
1212
configure_file(src/ProductInfo.h.in ProductInfo.h)
1313

tools/svdconv/SVDConv/src/ParseOptions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,15 +423,15 @@ ParseOptions::Result ParseOptions::ParseOpts(int argc, const char* argv[])
423423
( "quiet" , "No output on console" , cxxopts::value<bool>()->default_value("false") )
424424
( "debug" , "Add information to generated files: struct/header/sfd/break" , cxxopts::value<std::vector<std::string>>() )
425425
( "n" , "SFD Output file name" , cxxopts::value<string>() )
426-
( "version" , "Show program version")
426+
( "V,version" , "Show program version")
427427
( "h,help" , "Print usage")
428428
;
429429

430430
options.parse_positional({"input"});
431431
parseResult = options.parse(argc, argv);
432432

433433
if (parseResult.count("version")) {
434-
cout << m_options.GetVersion() << endl;
434+
cout << m_options.GetHeader() << endl;
435435
return Result::ExitNoError;
436436
}
437437
if ((argc < 2) || (parseResult.count("help"))) {

tools/svdconv/SVDConv/src/ProductInfo.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ static constexpr const char* MINOR_VERSION = "${PROJECT_VERSION_MINOR}";
1414
static constexpr const char* PATCH_VERSION = "${PROJECT_VERSION_PATCH}";
1515

1616
static constexpr const char* COMPANY_NAME = "Arm Ltd.";
17-
static constexpr const char* PRODUCT_NAME = "CMSIS SVD Check / Converter";
17+
static constexpr const char* PRODUCT_NAME = "CMSIS SVD Check/Converter";
1818
static constexpr const char* ORIGINAL_FILENAME = "${PROJECT_TARGET_FILE_NAME}";
1919
static constexpr const char* COPYRIGHT_NOTICE = "${PROJECT_COPYRIGHT_NOTICE}";
2020

tools/svdconv/SVDConv/src/SVDConv.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ int SvdConv::Check(int argc, const char* argv[], const char* envp[])
123123

124124
ParseOptions parseOptions(m_svdOptions);
125125
const string header = m_svdOptions.GetHeader();
126-
LogMsg("M001", TXT(header));
127126

128127
ParseOptions::Result result = parseOptions.Parse(argc, argv);
129128

tools/svdconv/SVDConv/src/SVDConv.rc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ BEGIN
4949
VALUE "FileDescription", "CMSIS-SVD Converter"
5050
VALUE "FileVersion", "@PROJECT_VERSION_FULL@"
5151
VALUE "InternalName", "SVDConv.exe"
52-
VALUE "LegalCopyright", "Copyright (C) 2010-@PROJECT_VERSION_YEAR@ ARM Ltd and ARM Germany GmbH. All rights reserved."
52+
VALUE "LegalCopyright", "(C) 2010-@PROJECT_VERSION_YEAR@ Arm Ltd. and Contributors"
5353
VALUE "OriginalFilename", "SVDConv.exe"
5454
VALUE "ProductName", "CMSIS-SVD Converter"
5555
VALUE "ProductVersion", "@PROJECT_VERSION_FULL@"

tools/svdconv/SVDConv/src/SvdOptions.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,7 @@ string SvdOptions::GetHeader()
170170
string header = string(PRODUCT_NAME);
171171
header += " ";
172172
header += GetVersion();
173-
header += " (";
174-
header += string(__DATE__);
175-
header += string(" ");
176-
header += string(__TIME__);
177-
header += ")\n";
173+
header += " ";
178174
header += string(COPYRIGHT_NOTICE);
179175
header += "\n";
180176

0 commit comments

Comments
 (0)