[SERVER-6152] mongooplog --help is wrong Created: 21/Jun/12  Updated: 22/Apr/13  Resolved: 21/Sep/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.1.1
Fix Version/s: 2.3.0

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: mongooplog, neweng, tools
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-6390 mongooplog arguments are unclearly do... Closed
Related
related to DOCS-1426 remove fields and fieldFile from mong... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The output of help seems to have options from mongoimport, like --fieldFile which shouldn't be there:

./mongodb-osx-x86_64-2012-06-16/bin/mongooplog --help
Pull and replay a remote MongoDB oplog.
 
options:
  --help                          produce help message
  -v [ --verbose ]                be more verbose (include multiple times for 
                                  more verbosity e.g. -vvvvv)
  --version                       print the program's version and exit
  -h [ --host ] arg               mongo host to connect to ( <set name>/s1,s2 
                                  for sets)
  --port arg                      server port. Can also use --host 
                                  hostname:port
  --ipv6                          enable IPv6 support (disabled by default)
  -u [ --username ] arg           username
  -p [ --password ] arg           password
  --dbpath arg                    directly access mongod database files in the 
                                  given path, instead of connecting to a mongod
                                    server - needs to lock the data directory, 
                                  so cannot be used if a mongod is currently 
                                  accessing the same path
  --directoryperdb                if dbpath specified, each db is in a separate
                                  directory
  --journal                       enable journaling
  -d [ --db ] arg                 database to use
  -c [ --collection ] arg         collection to use (some commands)
  -f [ --fields ] arg             comma separated list of field names e.g. -f 
                                  name,age
  --fieldFile arg                 file with fields names - 1 per line
  -s [ --seconds ] arg            seconds to go back default:86400
  --from arg                      host to pull from
  --oplogns arg (=local.oplog.rs) ns to pull from



 Comments   
Comment by auto [ 21/Sep/12 ]

Author:

{u'date': u'2012-09-11T17:04:15-07:00', u'email': u'shaun.verch@10gen.com', u'name': u'Shaun Verch'}

Message: SERVER-6152 Removed field options from mongooplog
Branch: master
https://github.com/mongodb/mongo/commit/9b5307e02a12132ff228db4044d425544e4cc5c3

Generated at Thu Feb 08 03:10:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.