Skip to content

Commit 0709443

Browse files
authored
[projmgr] Remove -R, --relative-paths option from usage page
1 parent 5022423 commit 0709443

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/projmgr/src/ProjMgr.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ Options:\n\
5656
-N, --no-update-rte Skip creation of RTE directory and files\n\
5757
-o,-O --output arg Base folder for output files, 'outdir' and 'tmpdir' (default \"Same as '*.csolution.yml'\")\n\
5858
-q, --quiet Run silently, printing only error messages\n\
59-
-R, --relative-paths Print paths relative to project or ${CMSIS_PACK_ROOT}\n\
6059
-S, --context-set Select the context names from cbuild-set.yml for generating the target application\n\
6160
-t, --toolchain arg Selection of the toolchain used in the project optionally with version\n\
6261
-v, --verbose Enable verbose messages\n\
@@ -164,7 +163,7 @@ int ProjMgr::ParseCommandLine(int argc, char** argv) {
164163
cxxopts::Option toolchain("t,toolchain", "Selection of the toolchain used in the project optionally with version", cxxopts::value<string>());
165164
cxxopts::Option ymlOrder("yml-order", "Preserve order as specified in input yml", cxxopts::value<bool>()->default_value("false"));
166165
cxxopts::Option contextSet("S,context-set", "Select the context names from cbuild-set.yml for generating the target application", cxxopts::value<bool>()->default_value("false"));
167-
cxxopts::Option relativePaths("R,relative-paths", "Output paths relative to project or to CMSIS_PACK_ROOT", cxxopts::value<bool>()->default_value("false"));
166+
cxxopts::Option relativePaths("R,relative-paths", "Output paths relative to csolution.yml or to CMSIS_PACK_ROOT", cxxopts::value<bool>()->default_value("false"));
168167
cxxopts::Option frozenPacks("frozen-packs", "The list of packs from cbuild-pack.yml is frozen and raises error if not up-to-date", cxxopts::value<bool>()->default_value("false"));
169168
cxxopts::Option updateIdx("update-idx", "Update cbuild-idx file with layer info", cxxopts::value<bool>()->default_value("false"));
170169
cxxopts::Option quiet("q,quiet", "Run silently, printing only error messages", cxxopts::value<bool>()->default_value("false"));
@@ -178,7 +177,7 @@ int ProjMgr::ParseCommandLine(int argc, char** argv) {
178177
{"update-rte", { false, {context, contextSet, activeTargetSet, debug, load, quiet, schemaCheck, toolchain, verbose, frozenPacks}}},
179178
{"convert", { false, {context, contextSet, activeTargetSet, debug, exportSuffix, load, quiet, schemaCheck, noUpdateRte, output, outputAlt, toolchain, verbose, frozenPacks, cbuildgen}}},
180179
{"run", { false, {context, contextSet, activeTargetSet, debug, generator, load, quiet, schemaCheck, verbose, dryRun}}},
181-
{"list packs", { true, {context, contextSet, activeTargetSet, debug, filter, load, missing, quiet, schemaCheck, toolchain, verbose, relativePaths}}},
180+
{"list packs", { true, {context, contextSet, activeTargetSet, debug, filter, load, missing, quiet, schemaCheck, toolchain, verbose}}},
182181
{"list boards", { true, {context, contextSet, activeTargetSet, debug, filter, load, quiet, schemaCheck, toolchain, verbose}}},
183182
{"list devices", { true, {context, contextSet, activeTargetSet, debug, filter, load, quiet, schemaCheck, toolchain, verbose}}},
184183
{"list configs", { false, {context, contextSet, activeTargetSet, debug, filter, load, quiet, schemaCheck, toolchain, verbose}}},

0 commit comments

Comments
 (0)