On Thu, 2007-05-03 at 03:32 +0530, Avinash Duduskar wrote:
> Hi,
> 
> 
> I’m getting the following error when using portmanager:
> 
> barge# /usr/local/bin/portmanager -ui
> rParseCommandLine 0.4.1_9 error: /usr/ports/-ui is not a valid port
> directory
> rParseCommandLine 0.4.1_9 info:either you have used an invalid command line
> switch as the first option or you are trying to update a non existent port
> path, see man portmanager(1)
> MGPMrCommandLine 0.4.1_9 error: rParseCommandLine returned errorCode 1
> 

Ok, so I have reviewed the code and the command line parsing is a bit
odd...  It separates options to commands and flags.  -ui is a flag,
which is not entirely obvious.  Options which seem to be interpreted as
commands are -sl, -slid, -s, -u, -v or category/port.  Other options are
treated as flags -l, -ui, --resume, etc...

So, "portmanager -u -ui" seems to do what you want.  I might break down
and rework the parsing code eventually, as I have had other complaints
about the way options are handled...

robert.


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to