[Bug 256376] pkg-add man page doesn't explain usage with -j

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 12:06:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256376

            Bug ID: 256376
           Summary: pkg-add man page doesn't explain usage with -j
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: pfm@wp.eu
                CC: doc@FreeBSD.org

I've tried installing a package with a command like:

    # pkg -j $jailname add $package_path

However, it didn't work because I was specifying a host path, instead of a
jail path.

In my opinion, it would be a good idea to mention -j flag in the man page,
like so:

    When pkg -j flag is used, a package from a local source is searched for in
    jail's filesystem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.