mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:05:44 +02:00
'find --columns .. --regex ..' works. Change help message to match. (#16103)
# Description find's help message for '--columns' claims incompatibility with '--regex'. However, both a review of the code and a test shows that this is not true, and the two flags are compatible. This commit removes the incompatibility claim. # User-Facing Changes * Help message of '--columns' flag in 'find' command is changed # Tests + Formatting Tested using 'toolkit check pr'. The stdlib tests don't pass on my system, but they didn't before this commit either. # After Submitting This command isn't mentioned in the main text, but is mentioned in the command reference. Should I rerun the command reference generator for the website? or is that done automatically before releases?
This commit is contained in:
committed by
GitHub
parent
020d1b17c5
commit
f6d807bf36
@ -47,7 +47,7 @@ impl Command for Find {
|
|||||||
.named(
|
.named(
|
||||||
"columns",
|
"columns",
|
||||||
SyntaxShape::List(Box::new(SyntaxShape::String)),
|
SyntaxShape::List(Box::new(SyntaxShape::String)),
|
||||||
"column names to be searched (with rest parameter, not regex yet)",
|
"column names to be searched",
|
||||||
Some('c'),
|
Some('c'),
|
||||||
)
|
)
|
||||||
.switch(
|
.switch(
|
||||||
|
Reference in New Issue
Block a user