Remove -f from fleetctl query (#1814)

close #1812
This commit is contained in:
Mike Arpaia
2018-06-04 22:28:49 -06:00
committed by GitHub
parent d9038f37f4
commit 4ddb691524
+2 -9
View File
@@ -19,8 +19,8 @@ type resultOutput struct {
func queryCommand() cli.Command {
var (
flFilename, flHosts, flLabels, flQuery string
flDebug bool
flHosts, flLabels, flQuery string
flDebug bool
)
return cli.Command{
Name: "query",
@@ -29,13 +29,6 @@ func queryCommand() cli.Command {
Flags: []cli.Flag{
configFlag(),
contextFlag(),
cli.StringFlag{
Name: "f",
EnvVar: "FILENAME",
Value: "",
Destination: &flFilename,
Usage: "A file to apply",
},
cli.StringFlag{
Name: "hosts",
EnvVar: "HOSTS",