Klemens Nanni wrote: > This makes `top -U 0' and "u-1000" work. > > Overview: > > "kn" ok "10kn" ok if "10kn" exists else error > "-kn" ok "-10kn" ok if "10kn" exists else error > "1000" ok "--1000" error, negative UID and "-1000" not valid > "-1000" ok "--10kn" error, "-10kn" not valid > > I wanted to drop the restriction from the manual page first, but this > would actually remove information so shortly state what's accepted. > > Feedback? OK?
this looks to be in the wrong order. if 1000 is a username, that should be matched first before numeric lookup.