Skip to content

Commit

Permalink
Remove unused zq -p option (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
aswan authored May 8, 2020
1 parent 8052fbf commit 56221c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/zq/zq.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func init() {
type Command struct {
zctx *resolver.Context
dir string
path string
jsonTypePath string
jsonPathRegexp string
jsonTypeConfig *ndjsonio.TypeConfig
Expand All @@ -100,7 +99,6 @@ type Command struct {
}

func New(f *flag.FlagSet) (charm.Command, error) {
cwd, _ := os.Getwd()
c := &Command{zctx: resolver.NewContext()}

c.jsonPathRegexp = ingest.DefaultJSONPathRegexp
Expand All @@ -111,7 +109,6 @@ func New(f *flag.FlagSet) (charm.Command, error) {
// Flags added for readers are -i XXX json
c.ReaderFlags.SetFlags(f)

f.StringVar(&c.path, "p", cwd, "path for input")
f.StringVar(&c.dir, "d", "", "directory for output data files")
f.StringVar(&c.outputFile, "o", "", "write data to output file")
f.StringVar(&c.jsonTypePath, "j", "", "path to json types file")
Expand Down

0 comments on commit 56221c9

Please sign in to comment.