Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 simplify docs #200

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/cnspec/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func init() {

var execCmd = builder.NewProviderCommand(builder.CommandOpts{
Use: "run",
Short: "Run a Mondoo Query Language (MQL) query",
Long: `Run a Mondoo Query Language (MQL) query on the CLI and displays its results.`,
Short: "Run a MQL query",
Long: `Run a MQL query on the CLI and displays its results.`,
CommonFlags: func(cmd *cobra.Command) {
cmd.Flags().Bool("parse", false, "Parse the query and return the logical structure")
cmd.Flags().Bool("ast", false, "Parse the query and return the Abstract Syntax Tree (AST)")
Expand Down
4 changes: 2 additions & 2 deletions apps/cnspec/cmd/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ func init() {

var shellCmd = builder.NewProviderCommand(builder.CommandOpts{
Use: "shell",
Short: "Interactive shell for Mondoo Query Language (MQL)",
Long: `Allows for the interactive exploration of Mondoo Query Language (MQL) queries`,
Short: "Interactive shell for MQL",
Long: `Allows for the interactive exploration of MQL queries`,
CommonFlags: func(cmd *cobra.Command) {
cmd.Flags().StringP("password", "p", "", "connection password e.g. for ssh/winrm")
cmd.Flags().Bool("ask-pass", false, "ask for connection password")
Expand Down