[MacPorts] #56434: Inconsistent flag names --nosync and --no-mirror
MacPorts
noreply at macports.org
Sat May 5 10:43:13 UTC 2018
#56434: Inconsistent flag names --nosync and --no-mirror
------------------------+----------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 2.5.0
Component: base | Version: 2.4.99
Keywords: | Port:
------------------------+----------------------------
`sudo port selfupdate` accepts a flag `--nosync`.
`sudo port fetch` accepts a flag `--no-mirrors`.
It is confusing that one of the flags uses a hyphen (`-`) between words
and the other does not.
Since `--no-mirrors` is new for MacPorts 2.5.0 which was not been released
yet, we could easily change it to `--nomirrors` before release without
introducing confusion for most users.
Or, if we like the hyphenated version better, we could change the
selfupdate flag to `--no-sync`, while keeping `--nosync` for backward
compatibility. I don't see any other multiword options that aren't
hyphenated, so this is probably the alternative I'd go with.
--
Ticket URL: <https://trac.macports.org/ticket/56434>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list