( ctx context.Context, o *options.Options, args []string, )
| 527 | } |
| 528 | |
| 529 | func (p *Parser) applyMaxResultDimensionOption( |
| 530 | ctx context.Context, |
| 531 | o *options.Options, |
| 532 | args []string, |
| 533 | ) error { |
| 534 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
| 535 | return err |
| 536 | } |
| 537 | |
| 538 | return p.parseInt(ctx, o, keys.MaxResultDimension, args...) |
| 539 | } |
| 540 | |
| 541 | func (p *Parser) applyPresetOption( |
| 542 | ctx context.Context, |
no test coverage detected