(options ...string)
| 187 | } |
| 188 | |
| 189 | func (a *Arguments) AddArg(options ...string) error { |
| 190 | for _, option := range options { |
| 191 | err := a.addParam(option, "") |
| 192 | if err != nil { |
| 193 | return err |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | return nil |
| 198 | } |
| 199 | |
| 200 | // Multiple args acts as an OR operator. |
| 201 | func (a *Arguments) ExistsArg(options ...string) bool { |