Skip to content

Documentation and help shows restart with '--' instead of "+" #637

@clong83

Description

@clong83

I found the struct in src/Control/Keywords.hpp, but I am unclear how to get this to show up as + instead of '--' when displayed for a single item, as that is templated in Base/print.hpp. SPecifically, it looks like Control/Inciter/CmdLine/Parser.cpp send the following prefix to print.hpp for all arguments on line 85-8:

if (argc == 1 || helpcmd) {
print.help< tk::QUIET >( tk::inciter_executable(),
cmdline.get< tag::cmdinfo >(),
"Command-line Parameters:", "-" );

I am not sure of an easy way to change that for only one or some of the members as that will get passed along. I could put in if check into the print.hpp and change the prefix if we are on the keyword 'restart'. Kinda hacky, but it should work.

I am going to prep for my meeting, but I'll return this later.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions