View Single Post
  #3   (View Single Post)  
Old 26th March 2013
bsdplus bsdplus is offline
Real Name: Alan Cheng
Port Guard
 
Join Date: Jun 2009
Location: Shanghai, China
Posts: 21
Default

with getopt, I thought all arguments passed on on command line have to be processed by it and it would be treated as error if more arguments are passed than it would expect.

Things are now a lot more clear. Thanks ocicat for the explanation and example.

Last edited by bsdplus; 26th March 2013 at 11:19 AM. Reason: fix typos
Reply With Quote