Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixFileGenerator
Commits
bc713c02
Commit
bc713c02
authored
Dec 03, 2020
by
Pierre Aubert
Browse files
Add default class name
parent
580fc2fd
Pipeline
#95485
passed with stages
in 2 minutes and 8 seconds
Changes
1
Pipelines
12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main.cpp
src/main.cpp
+1
-1
No files found.
src/main.cpp
View file @
bc713c02
...
...
@@ -26,7 +26,7 @@ OptionParser createOptionParser(){
parser
.
setExampleShortOption
(
"phoenix_filegenerator class -n some_source"
);
parser
.
addMode
(
"class"
);
std
::
string
defaultClassName
(
"
Shadok
"
);
std
::
string
defaultClassName
(
""
);
parser
.
addOption
(
"name"
,
"n"
,
defaultClassName
,
"base name of the file to be created"
);
std
::
string
templateDef
(
""
);
parser
.
addOption
(
"template"
,
"t"
,
templateDef
,
"template definition of the class (ex: 'typename T' or 'typename T, typename U', etc)"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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