Bug 229146 - ports-mgmt/pkg "alias" section for pkg(8) should mention e.g. prime-(list|origins)
Summary: ports-mgmt/pkg "alias" section for pkg(8) should mention e.g. prime-(list|ori...
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
: 252387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-19 09:33 UTC by Harald Schmalzbauer
Modified: 2021-08-17 16:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Schmalzbauer 2018-06-19 09:33:22 UTC
Accidentally I found the 'prime-list' and 'prime-origins' aliases _today_.

I've quiet often looked at the man page during the evolution of pkg(8) to see if there's an aequivalent of 'portmaster --list-origins', which was mandatory for me at pkg_legacy times.

"alias" is only mentioned once for pkg(8), without telling that there are predefined aliases available, which feature not only simple synonyms, but extended functionality by providing "pkg query" makros e.g.

Please add a sentence like above to encourage the user to have a look at "alias".
And I vote for listing at least the most widely useful example aliases, which I think 'prime-list' definitely belongs to.

Thanks,

-harry
Comment 1 Guangyuan Yang freebsd_committer freebsd_triage 2021-01-03 18:19:15 UTC
*** Bug 252387 has been marked as a duplicate of this bug. ***
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-17 16:58:23 UTC
Those are examples provided by the sample pkg.conf imho that should not be part of the manpages.