On 11 Apr 2017, at 22:36, db <[email protected]> wrote:
> Without arguments shows this warning
> 
> $ port-depgraph
> Warning: It looks like your PortIndex file for file:///opt/local/myports may 
> be corrupt.
> Warning: It looks like your PortIndex file for 
> file:///opt/local/var/macports/sources/github.com/macports/macports-ports/ 
> may be corrupt.
> Error: <stdin>: syntax error in line 1 near 'Warning'

I realised that I have port-depgraph aliased, so running it without args throws 
that warning.

alias port-depgraph=' _() { port-depgraph "$1" | dot -T png -o 
"$1"_depgraph.png ; } ; _ '

Reply via email to