On Sun, Jun 03, 2012 at 13:37, Brynet wrote:
> On Sat, Jun 02, 2012 at 03:09:54PM -0400, Brynet wrote:
>> I wasn't sure about the interactions between getopt(3) and having an
>> '-' as an optarg.
>>
>> Seems there isn't anything obvious, so this allows users to be hidden
>> using: top -U -user

-u -user should work, did you test it?  I thought getopt was smart
enough to know if an argument is needed, it comes next.  I think
that's nicer than a different letter for command line and interactive
mode.

Reply via email to