$ xargs --ma 7
xargs: option `--ma' is ambiguous
Indicating that this might be an abbreviation for --max-lines or --max-chars
would be more helpful.
Created attachment 3107 [details]
getopt patch to indicate two of the possible meanings of an ambiguous abbreviation
This patch includes two of the possible expansions of the abbreviation the user
specified in the error message the user sees.
Golden rule in CS: the only acceptable numbers are 0, 1, oo. Just printing two of possibly many options is not acceptable. I added a patch which prints all options.