File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ the collection in JSON format to stdout.
19
19
mongodb-schema mongodb://localhost:27017 mongodb.fanclub
20
20
```
21
21
22
- Additional arguments change the number of samples (` --sample ` ), print additional statistics about the
22
+ Additional arguments change the number of samples (` --number ` ), print additional statistics about the
23
23
schema analysis (` --stats ` ), switch to a different output format (` --format ` ), or let you suppress the
24
24
schema output altogether (` --no-output ` ) if you are only interested in the schema statistics, semantic
25
25
type discovery (` --semantic-types ` ), and the ability to disable value collection (` --no-values ` ).
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ var stats = require('stats-lite');
21
21
22
22
var argv = require ( 'yargs' )
23
23
. strict ( )
24
- . usage ( 'Usage: $0 <uri> <ns> [--format=<json|yaml|table> --sample =<n>]' )
24
+ . usage ( 'Usage: $0 <uri> <ns> [--format=<json|yaml|table> --number =<n>]' )
25
25
. demand ( 2 )
26
26
. option ( 'n' , {
27
27
alias : 'number' ,
@@ -79,7 +79,7 @@ var argv = require('yargs')
79
79
. describe ( 'h' , 'Show this screen.' )
80
80
. help ( 'h' )
81
81
. wrap ( 100 )
82
- . example ( '$0 localhost:27017 mongodb.fanclub --sample 1000 --repeat 5 --stats '
82
+ . example ( '$0 localhost:27017 mongodb.fanclub --number 1000 --repeat 5 --stats '
83
83
+ '--no-output' , 'analyze 1000 docs from the mongodb.fanclub '
84
84
+ 'collection with the old ampersand parser, repeat 5 times and only show statistics.' )
85
85
. example ( '$0 localhost:27017 test.foo --format table' ,
You can’t perform that action at this time.
0 commit comments