Skip to content

allow --context to be one of int or range - #18368

Merged
fdncred merged 1 commit into
nushell:mainfrom
fdncred:allow_context_tobe_int_or_range
Jun 8, 2026
Merged

fdncred merged 1 commit into
nushell:mainfrom
fdncred:allow_context_tobe_int_or_range

Conversation

@fdncred

@fdncred fdncred commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR allows the idx search --context parameter to be one of int or range. When supplied by int it makes before and after context that number.

User-facing changes (Release notes)

Allowed idx search --context to accept counts or ranges

This change allows idx search --context to be supplied as either an int or as a range.
Screenshot 2026-06-08 at 13-38-25

Additional notes

@fdncred
fdncred merged commit 1407abe into nushell:main Jun 8, 2026
18 checks passed
@fdncred
fdncred deleted the allow_context_tobe_int_or_range branch June 8, 2026 18:57
@github-actions github-actions Bot added this to the v0.114.0 milestone Jun 8, 2026
@fdncred fdncred added notes:ready Indicates Ready for Release notes notes:additions Noted in "Additions" section labels Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:additions Noted in "Additions" section notes:ready Indicates Ready for Release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant