sd icon indicating copy to clipboard operation
sd copied to clipboard

Rename `-s/--string-mode` to `-F/--fixed-strings`

Open zx8 opened this issue 5 years ago • 2 comments

I assume the majority of users who come across sd are likely also using other popular Rust-based CLI tools like fd and rg:

For consistency with the above, it would be neat if sd's options were consistent with these to make context switching a bit easier.

zx8 avatar Jul 08 '19 09:07 zx8

(Don't break the API, add a new option.)

NightMachinery avatar Aug 07 '19 08:08 NightMachinery

Not only Rust-based new tools but also good old grep...

seguri avatar May 20 '22 23:05 seguri

-s, --string-mode is now -F --fixed-strings with an alias to ensure that any usages of the old flags still work

CosmicHorrorDev avatar May 17 '23 01:05 CosmicHorrorDev