You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--colo[u]r=WHEN when to use terminal colours (always, auto, never)
--colo[u]r-scale highlight levels of 'field' distinctly(all, age, size)
--colo[u]r-scale-mode use gradient or fixed colors in --color-scale (fixed, gradient)
The help text for --color and --color-scale-mode use different variations in spelling for their internal help text. It's not a problem that they aren't agnostic (i.e. i wouldn't expect them to say when to use termianl colo[u]rs), but it seems odd that they are using different variations. This should probably be fixed, so they use the same spelling.
Moreover, it is annoying that i can't grep for either spelling reliably. Consider replacing --colo[u]r=WHEN with --color=WHEN --colour=WHEN, or --{color,colour}=WHEN, or something similar that fully spells out both variants (and vice versa for the other two options of course). This ensures that grepping for either term will output all the relevant options, which may be useful to someone else in the future, saving them the few seconds of confusion i experienced prior to creating this issue
(all three invocations here should output the same three lines)
The text was updated successfully, but these errors were encountered:
eza/src/options/help.rs
Lines 29 to 31 in 83ca7b3
The help text for
--color
and--color-scale-mode
use different variations in spelling for their internal help text. It's not a problem that they aren't agnostic (i.e. i wouldn't expect them to saywhen to use termianl colo[u]rs
), but it seems odd that they are using different variations. This should probably be fixed, so they use the same spelling.Moreover, it is annoying that i can't grep for either spelling reliably. Consider replacing
--colo[u]r=WHEN
with--color=WHEN --colour=WHEN
, or--{color,colour}=WHEN
, or something similar that fully spells out both variants (and vice versa for the other two options of course). This ensures that grepping for either term will output all the relevant options, which may be useful to someone else in the future, saving them the few seconds of confusion i experienced prior to creating this issue(all three invocations here should output the same three lines)
The text was updated successfully, but these errors were encountered: