lix/doc/manual/rl-next/short-expr-flag.md
Lunaphied 185ecf1f45 Improve new CLI UX by supporting short -E flag for --expr
Change-Id: I55881c846da8416a92a14deedfa5bbbf09a122fb
2024-03-24 21:17:51 -06:00

581 B

synopsis
reintroduce shortened `-E` form for `--expr` to new CLI

In the past, it was possible to supply a shorter -E flag instead of fully specifying --expr every time you wished to provide an expression that would be evaluated to produce the given command's input. This was retained for the --file flag when the new CLI utilities were written with -f, but -E was dropped.

We now restore the -E short form for better UX. This is most useful for nix eval but most any command that takes an Installable argument should benefit from it as well.