blob: 1cadf24cbdc5c9d6296c210c13bd6c9b9a2b1246 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package options
type BSONDumpOptions struct {
Type string `long:"type" default:"json" description:"type of output: debug, json"`
ObjCheck bool `long:"objcheck" description:"validate bson during processing"`
NoObjCheck bool `long:"noobjcheck" description:"don't validate bson during processing"`
}
func (self *BSONDumpOptions) Name() string {
return "output"
}
func (self *BSONDumpOptions) PostParse() error {
return nil
}
func (self *BSONDumpOptions) Validate() error {
return nil
}
|