Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1654

mongoreplay's -h flag is overloaded

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Gone away
    • None
    • None
    • mongoreplay
    • Needed
    • Once the command line options and help are consistent, the docs may need to be changed

    Description

      $ mongoreplay play -h localhost:27017
      Usage:
        mongoreplay [OPTIONS] play [play-OPTIONS]
      ...
      Help Options:
        -h, --help                           Show this help message
      ...
      [play command options]
            -h, --host=                      Location of the host to play back against (default:
                                             mongodb://localhost:27017)
      

      Interestingly, the documentation does not list -h as being an alternative to --help

      h/t tomer.yakir for his help identifying the issue

      Attachments

        Issue Links

          Activity

            People

              backlog-server-tools Backlog - Server Tools Team
              joanna.cheng@mongodb.com Joanna Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: