Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #16118 (new enhancement)

Opened 6 weeks ago

Last modified 5 weeks ago

Add documentation for `port gohome`

Reported by: raimue@… Owned by: markd@…
Priority: Normal Milestone: Website & Documentation
Component: guide Version:
Keywords: gohome documentation Cc: blb@…
Port:

Description

The command port gohome is not documented, neither in the guide nor in the man page.

It was added in r24551.

Attachments

port.1-commands.diff (1.6 kB) - added by blb@… 6 weeks ago.
diff to base/doc/port.1

Change History

Changed 6 weeks ago by raimue@…

  • summary changed from Add documentation `port gohome` to Add documentation for `port gohome`

Changed 6 weeks ago by blb@…

  • cc blb@… added

I'll attach a diff for port.1 to add documentation for several commands: platform, gohome, usage, work, cd, url, and ed. There are still several not listed in this diff, either because they appear to not be implemented yet (compact and uncompact) or I don't know how they work (submit, mirror, load, and unload).

Changed 6 weeks ago by ryandesign@…

"sudo port load ${port}" is a shortcut for "sudo launchctl load -w /Library/LaunchDaemons/org.macports.${port}.plist". Similarly for "sudo port unload ${port}". Added in r31500.

Changed 6 weeks ago by blb@…

diff to base/doc/port.1

Changed 6 weeks ago by blb@…

Updated diff adding descriptions of load and unload; thanks Ryan.

Changed 5 weeks ago by raimue@…

I think the description for port url is not quite correct.

Displays the MacPorts internal URL for the given portname.

It's the internal what concerns me. The value of port url can be passed as argument to any port action.

See port-url here:

SYNOPSIS
     port [-vdqfonRusbckixpt] [-D portdir] [-F cmdfile] [action] [actionflags]
          [[portname | pseudo-portname | port-url]]
          [[@version] [+/-variant ...] ... [option=value ...]]

I would say:

Displays the URL to the Portfile of the given portname, which can be passed as port-url.

There is no other description for port-url so this could help to clarify it a bit.

Note: See TracTickets for help on using tickets.