Skip to content

Commit 15c89a1

Browse files
committed
specify ext JSON
1 parent 260816d commit 15c89a1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This Repository is **NOT** an officially supported MongoDB product.
55
This simple tool reads a
66
[mongodump](https://www.mongodb.com/docs/database-tools/mongodump/) archive
77
on its standard input, parses the archive’s header & collection metadata,
8-
then writes the result as a JSON document to standard output.
8+
then writes the result as a
9+
[MongoDB Extended JSON](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/)
10+
document to standard output.
911

1012
To build it, just run `go build`.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func main() {
3737
var cmd = cli.Command{
3838
Name: "mongodump-parser",
3939
Usage: "parse mongodump archive files",
40-
Description: wordwrap.WrapString("This tool reads a mongodump archive file from standard input, parses its header, then outputs the parse to standard output. This lets you see an archive’s contents without actually restoring it.", uint(colWidth-4)),
40+
Description: wordwrap.WrapString("This tool reads a mongodump archive file from standard input, parses its header, then outputs the parse to standard output in MongoDB Extended JSON. This lets you see an archive’s contents without actually restoring it.", uint(colWidth-4)),
4141
Action: func(_ context.Context, cmd *cli.Command) error {
4242
return run(cmd)
4343
},

0 commit comments

Comments
 (0)