()
| 68 | } |
| 69 | |
| 70 | func (c *PatchCommand) Flags() *FlagSets { |
| 71 | set := c.flagSet(FlagSetHTTP | FlagSetOutputField | FlagSetOutputFormat) |
| 72 | f := set.NewFlagSet("Command Options") |
| 73 | |
| 74 | f.BoolVar(&BoolVar{ |
| 75 | Name: "force", |
| 76 | Aliases: []string{"f"}, |
| 77 | Target: &c.flagForce, |
| 78 | Default: false, |
| 79 | EnvVar: "", |
| 80 | Completion: complete.PredictNothing, |
| 81 | Usage: "Allow the operation to continue with no key=value pairs. This " + |
| 82 | "allows writing to keys that do not need or expect data.", |
| 83 | }) |
| 84 | |
| 85 | return set |
| 86 | } |
| 87 | |
| 88 | func (c *PatchCommand) AutocompleteArgs() complete.Predictor { |
| 89 | // Return an anything predictor here. Without a way to access help |
no test coverage detected