]> git.tdb.fi Git - builder.git/commitdiff
Include the main package when showing help for all packages
authorMikko Rasa <tdb@tdb.fi>
Sun, 5 May 2024 11:52:49 +0000 (14:52 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 5 May 2024 11:52:49 +0000 (14:52 +0300)
source/cli/buildercli.cpp

index efb25899b53fd9fad4f0125c2b4629e400d42292..267a0b2ed4abe7c6eb89502928908383dcb46b42 100644 (file)
@@ -357,14 +357,13 @@ void BuilderCLI::package_help()
                IO::print("\n");
        }
 
+       config_help(main_pkg);
        if(conf_all)
        {
                for(const Package *pkg: required_pkgs)
                        if(const SourcePackage *spkg = dynamic_cast<const SourcePackage *>(pkg))
                                config_help(*spkg);
        }
-       else
-               config_help(main_pkg);
 }
 
 void BuilderCLI::config_help(const SourcePackage &pkg)