Bug 11793 - image-create example partially disagrees with the usage
: image-create example partially disagrees with the usage
Status: RESOLVED FIXINSOURCE
Product: pkg
manpage
: unspecified
: ANY/Generic All
: P4 trivial (vote)
: ---
Assigned To: Shawn Walker
: pkg/manpage watcher
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-10-07 17:26 UTC by Alok Aggarwal
Modified: 2009-11-17 23:07 UTC (History)
0 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Alok Aggarwal 2009-10-07 17:26:51 UTC
pkg(5) states the usage of the image-create command to be -

     /usr/bin/pkg image-create [-fFPUz] [--force] [--full|--partial|--user]
         [--zone] [-k ssl_key] [-c ssl_cert] [--no-refresh]
         (-p|--publisher) name=uri dir

But the example states something else -

     Example 1:  Create a new, full image, with publisher example.com,
     stored at /aux0/example_root

     $ pkg image-create -F -a example.com=http://pkg.example.com:10000 \
          /aux0/example_root^^^

This example still works but it disagrees with the usage.
Comment 1 Danek Duvall 2009-10-07 17:32:43 UTC
Part of the detritus left over from renaming authorities to publishers.
Comment 2 Shawn Walker 2009-10-07 21:53:33 UTC
Trivial really since image-create will accept both the old and new syntax.
Comment 3 Shawn Walker 2009-11-13 19:39:18 UTC
Correcting '-a' to '-p'.
Comment 4 Shawn Walker 2009-11-17 23:07:56 UTC
Resolved in changeset 1504 / 265a1d6b86bdbf14ee02f166e3a1eb3d019ad6e9.