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
580fc2fd
Commit
580fc2fd
authored
Dec 03, 2020
by
Pierre Aubert
Browse files
Add default class name
parent
750f6052
Changes
1
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 @
580fc2fd
...
...
@@ -27,7 +27,7 @@ OptionParser createOptionParser(){
parser
.
addMode
(
"class"
);
std
::
string
defaultClassName
(
"Shadok"
);
parser
.
addOption
(
"name"
,
"n"
,
OptionType
::
FILENAME
,
defaultClassName
,
"base name of the file to be created"
);
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)"
);
parser
.
addOption
(
"config"
,
"c"
,
templateDef
,
"Configuration file to create a class (*.pdata)"
);
...
...
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