Skip to content

Missing required argument in agents list documentation #741

@hyww

Description

@hyww

Describe the bug
mongocli cloud-manager agents list shows the following message, but documentation (or the command with --help) says nothing about the required argument.

$ mongocli cloud-manager agents list
Error: "mongocli cloud-manager agents list" requires 1 argument

Usage:  mongocli cloud-manager agents list [flags]

To Reproduce
Steps to reproduce the behavior:

  1. Run mongocli cloud-manager agents list
  2. See error

Expected behavior
Please explain what you expected to happen.

Tell users the required argument should be one of {"AUTOMATION", "MONITORING", "BACKUP"} according to here.

Screenshots
If possible, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu Linux 18.04 (WSL1 on Windows 10 Professional 2004 19041.746)
  • MongoCLI version 1.17.1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions