📣 An issue occured with the embedded container registry on October 25 2021, between 10:30 and 12:10 (UTC+2). Any persisting issues should be reported to CC-IN2P3 Support. 🐛

Commit 750f6052 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add default class name

parent 73070b33
......@@ -26,7 +26,8 @@ OptionParser createOptionParser(){
parser.setExampleShortOption("phoenix_filegenerator class -n some_source");
parser.addMode("class");
parser.addOption("name", "n", OptionType::FILENAME, true, "base name of the file to be created");
std::string defaultClassName("Shadok");
parser.addOption("name", "n", OptionType::FILENAME, 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)");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment