]> git.tdb.fi Git - builder.git/blobdiff - source/buildercli.cpp
Use default member initializers and constructor delegation
[builder.git] / source / buildercli.cpp
index 41a2429a48aba8307c00553bb45583c183134e7c..bc18eed9f37366f4250cc2955d47026cba5f3b33 100644 (file)
@@ -15,19 +15,7 @@ using namespace std;
 using namespace Msp;
 
 BuilderCLI::BuilderCLI(int argc, char **argv):
-       RegisteredApplication<BuilderCLI>("builder"),
-       analyzer(0),
-       build(false),
-       clean(0),
-       dry_run(false),
-       help(false),
-       show_progress(false),
-       build_file("Build"),
-       jobs(1),
-       conf_all(false),
-       conf_only(false),
-       build_all(false),
-       create_makefile(false)
+       RegisteredApplication<BuilderCLI>("builder")
 {
        string analyze_mode;
        string work_dir;
@@ -195,8 +183,8 @@ int BuilderCLI::main()
 
        if(help)
        {
-               IO::print("Builder 1.0\n"
-                       "Copyright © 2006-2013  Mikkosoft Productions, Mikko Rasa\n"
+               IO::print("Builder 3.0\n"
+                       "Copyright © 2006-2022  Mikkosoft Productions, Mikko Rasa\n"
                        "Licensed under the GPL\n\n"
                        "%s", helpmsg);
                package_help();