Skip to content

Commit

Permalink
🧹 simplify docs (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock authored Nov 21, 2022
1 parent 27b1665 commit 72f0c03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 72f0c03

Please sign in to comment.