diff --git a/cli/providers/providers.go b/cli/providers/providers.go index a847be4555..dd57d73d5f 100644 --- a/cli/providers/providers.go +++ b/cli/providers/providers.go @@ -190,7 +190,6 @@ func setDefaultConnector(provider *plugin.Provider, connector *plugin.Connector, log.Info().Msg("no provider specified, defaulting to local. Use --help to see all providers.") } - cmd.Command.Short = cmd.Action + connector.Short setConnector(provider, connector, cmd.Run, cmd.Command) } diff --git a/test/cli/testdata/cnquery.ct b/test/cli/testdata/cnquery.ct index b57d282d1c..91d1d2c569 100644 --- a/test/cli/testdata/cnquery.ct +++ b/test/cli/testdata/cnquery.ct @@ -17,10 +17,10 @@ Available Commands: login Register with Mondoo Platform. logout Log out from Mondoo Platform. providers Providers add connectivity to all assets. - run Run a query with your local system - sbom Collect a software bill of materials (SBOM) for your local system - scan Scan your local system - shell Interactive shell with your local system + run Run an MQL query. + sbom Experimental: Generate a software bill of materials (SBOM) for a given asset. + scan Scan assets with one or more query packs. + shell Interactive query shell for MQL. status Verify access to Mondoo Platform. vault Manage vault environments. version Display the cnquery version.