Command line switch to say yes to dependencies?

Sterling Smith smithsp at fusion.gat.com
Tue Jan 3 18:03:30 CET 2017


On Jan 3, 2017, at 9:50AM, Rainer Müller <raimue at macports.org> wrote:

> 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.

Good to know.
> 
>> 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.
I have made suggestions in https://github.com/macports/macports-base/pull/14 .  I suggest any interested parties should comment there (as Rainer has) to continue the conversation.
> 
> Rainer

-Sterling


More information about the macports-dev mailing list