From: Mikko Rasa Date: Sun, 5 May 2024 11:52:49 +0000 (+0300) Subject: Include the main package when showing help for all packages X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=a5b29ffdef385f30b50e81293a5c9af4959f5dc0;p=builder.git Include the main package when showing help for all packages --- diff --git a/source/cli/buildercli.cpp b/source/cli/buildercli.cpp index efb2589..267a0b2 100644 --- a/source/cli/buildercli.cpp +++ b/source/cli/buildercli.cpp @@ -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(pkg)) config_help(*spkg); } - else - config_help(main_pkg); } void BuilderCLI::config_help(const SourcePackage &pkg)