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

mongoreplay's -h flag is overloaded

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: mongoreplay
    • 1
    • Needed
    • Once the command line options and help are consistent, the docs may need to be changed

      $ 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

            Assignee:
            Unassigned Unassigned
            Reporter:
            joanna.cheng@mongodb.com Joanna Cheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: