nushell/crates/nu-command/src
Leon bb0b0870ea
Change all --insensitive flags to --ignore-case (#7198)
# Description

Support for this breaking change was raised in #7191. This affects
`sort`, `sort-by`, `str contains` and `find`. `--ignore-case` is used by
a few POSIX programs such as `less` and `grep`, as well as a few other
popular utils like `tree` and `wget`. Since long names aren't especially
popular (existing primarily for self-documentation purposes), I consider
this on the shallow end of the compat-break scale.

Note that the `-i` short flag is not affected.
 
# User-Facing Changes

See above.

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace --features=extra -- -D warnings -D
clippy::unwrap_used -A clippy::needless_collect` to check that you're
using the standard code style
- `cargo test --workspace --features=extra` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2022-11-22 15:38:30 -06:00
..
bits add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
bytes add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
charting Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
conversions add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
core_commands Fix while ctrlc behavior (#7195) 2022-11-22 15:47:12 +01:00
database Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
dataframe Limited mutable variables (#7089) 2022-11-11 19:51:08 +13:00
date add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
deprecated Rename all?, any? and empty? (#6464) 2022-09-05 16:41:06 +02:00
env add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
experimental Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
filesystem Fix glob error arrows (#7194) 2022-11-22 14:23:01 +01:00
filters Change all --insensitive flags to --ignore-case (#7198) 2022-11-22 15:38:30 -06:00
formats Stdout/Stderr redirection (#7185) 2022-11-23 07:26:13 +13:00
generators Remove --separator from seq date (#7096) 2022-11-11 20:16:44 +13:00
hash add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
math add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
misc Replace all instances of 'column path' in help messages with 'cell path' (#7063) 2022-11-09 21:49:11 -08:00
network add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
path add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
platform add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
random add signature information when get help on one command (#7079) 2022-11-20 07:22:42 -06:00
shells Refactor shell listing related code (#6262) 2022-08-08 06:31:24 -05:00
strings Change all --insensitive flags to --ignore-case (#7198) 2022-11-22 15:38:30 -06:00
system Improve "Cannot convert argument to string" msg (#7161) 2022-11-18 21:33:01 +01:00
viewers fix #7145 (#7148) 2022-11-17 07:51:04 -06:00
default_context.rs new command url parse (#6854) and url subcommands tests (#7124) 2022-11-19 10:14:29 -08:00
example_test.rs Parser refactoring for improving pipelines (#7162) 2022-11-19 10:46:48 +13:00
input_handler.rs Replace all instances of 'column path' in help messages with 'cell path' (#7063) 2022-11-09 21:49:11 -08:00
lib.rs Refactor: introduce general operate commands to reduce duplicate code (#6879) 2022-10-29 16:29:46 -05:00
sort_utils.rs Improve CantFindColumn and ColumnAlreadyExists errors (#7164) 2022-11-19 09:35:55 -08:00