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
IMO the bigger issue is that currently there is no mechanism in clap to disambiguate between -n 5 and -n=5 and -n5. While Arg::require_equals works here for the first case, such that 5 is not parsed as the option value, -n=5 fails such that = is not parsed as the separator as intended:
Activity
my4ng commentedon Feb 3, 2026
IMO the bigger issue is that currently there is no mechanism in clap to disambiguate between
-n 5and-n=5and-n5. WhileArg::require_equalsworks here for the first case, such that5is not parsed as the option value,-n=5fails such that=is not parsed as the separator as intended:echo "abc" > f && pr -n=5 fGNU:
uutils:
Related to: clap-rs/clap#5489