Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
442550b8
Commit
442550b8
authored
Aug 22, 2020
by
LEFEBVREJP email
Browse files
Minor edits
See merge request
!98
parents
b46f658b
c3452fcc
Pipeline
#115738
passed with stages
in 18 minutes and 35 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
radixcommand/commandline.cc
View file @
442550b8
...
...
@@ -136,6 +136,11 @@ void CommandLine::printParsedLine(std::ostream &out) const
void
CommandLine
::
help
(
std
::
ostream
&
out
)
const
{
// dump commandline example first
// if there is a description, add it up front
if
(
!
mDescription
.
empty
())
{
out
<<
mDescription
<<
std
::
endl
;
}
out
<<
mExecutable
;
for
(
const
auto
&
it
:
mData
)
{
...
...
@@ -287,6 +292,13 @@ bool CommandLine::validate(std::ostream &out) const
return
valid
;
}
const
std
::
string
&
CommandLine
::
description
()
const
{
return
mDescription
;
}
void
CommandLine
::
setDescription
(
const
std
::
string
&
description
)
{
mDescription
=
description
;
}
template
<
>
std
::
string
CommandLine
::
get
(
const
std
::
string
&
name
)
const
{
...
...
radixcommand/commandline.hh
View file @
442550b8
...
...
@@ -82,9 +82,13 @@ class RADIX_PUBLIC CommandLine
*/
bool
validate
(
std
::
ostream
&
out
)
const
;
const
std
::
string
&
description
()
const
;
void
setDescription
(
const
std
::
string
&
description
);
private:
int
mArgc
;
char
**
mArgv
;
std
::
string
mDescription
;
std
::
string
mExecutable
;
std
::
vector
<
std
::
string
>
mArgs
;
std
::
vector
<
std
::
pair
<
std
::
string
,
std
::
string
>>
mDeclArgs
;
...
...
radixio/examples/CMakeLists.txt
View file @
442550b8
TRIBITS_ADD_EXECUTABLE
(
radixsnd2arl
NOEXEPREFIX
SOURCES
radixsnd2arl
.cc
)
#
TRIBITS_ADD_EXECUTABLE(
fmsscoreex
#
NOEXEPREFIX
#
SOURCES
fmsscoreex
.cc
#
)
radixio/examples/radixsnd2arl.cc
deleted
100644 → 0
View file @
b46f658b
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment