(ctx context.Context, o *options.Options, args []string)
| 395 | } |
| 396 | |
| 397 | func (p *Parser) applyCacheBusterOption(ctx context.Context, o *options.Options, args []string) error { |
| 398 | if err := p.ensureMaxArgs(ctx, keys.CacheBuster, args, 1); err != nil { |
| 399 | return err |
| 400 | } |
| 401 | |
| 402 | if len(args[0]) == 0 { |
| 403 | o.Delete(keys.CacheBuster) |
| 404 | return nil |
| 405 | } |
| 406 | |
| 407 | o.Set(keys.CacheBuster, args[0]) |
| 408 | |
| 409 | return nil |
| 410 | } |
| 411 | |
| 412 | func (p *Parser) applySkipProcessingFormatsOption(ctx context.Context, o *options.Options, args []string) error { |
| 413 | for _, format := range args { |
no test coverage detected