Command line switch to say yes to dependencies?

Rainer Müller raimue at macports.org
Tue Jan 3 17:50:37 CET 2017


On 2017-01-03 17:47, Sterling Smith wrote:
> I did search `man port`, but I had not added my custom install's
> MANPATH.

MANPATH is supposed to be empty, as man(1) will then deduce the paths
from the PATH environment variable.

> Note that the use of the phrase "non-interactive mode" for this
> switch is in contradiction to the documentation of the command
> argument, which it claims if I give the command argument, then I am
> not in interactive mode already...  Also, searching for "yes" in the
> man page yields nothing.  I will provide a pull request with my
> suggestion for improvements to the description.

Indeed, the documentation is misleading. "Interactive mode" is the port
shell you get when you launch port(1) without arguments. The -N flag is
supposed to avoid any questions to the user. These two things need to
have distinct names.

In order not to break existing documentation, the -N flag should rather
be called something like "no-questions mode". We should also rename the
ui_interactive option in macports.conf accordingly.

Rainer


More information about the macports-dev mailing list