Skip to content

Commit 0fbd84e

Browse files
committed
doc: Document how to undo port-select
This documents how to undo a port-select by describing the `none` value for port-select.
1 parent 4d2fae7 commit 0fbd84e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

doc/port-select.1.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ SYNOPSIS
2020
[cmdsynopsis]
2121
*port* [*-dv*] *select* [--set] 'group' 'option'
2222

23+
[cmdsynopsis]
24+
*port* [*-dv*] *select* [--set] 'group' none
25+
2326
DESCRIPTION
2427
-----------
2528
*port select* provides a mechanism to choose from different implementations of
@@ -43,6 +46,9 @@ the current primary implementation and list all available implementations given
4346
a group name, and change the primary implementation. See *OPTIONS* below for
4447
details.
4548

49+
The special value *none* undos a previous *port select* invocation by removing
50+
the relevant symbolic links again.
51+
4652
OPTIONS
4753
-------
4854
*--summary*::
@@ -72,6 +78,11 @@ $> sudo port select --set mysql $option
7278
where '$option' is 'mysql56' if you want the version from MySQL, or 'percona',
7379
if you want the version from Percona.
7480

81+
If you now want to do undo this selection, you can do so by running
82+
----
83+
$> sudo port select --set mysql none
84+
----
85+
7586
SEE ALSO
7687
--------
7788
man:port[1]

0 commit comments

Comments
 (0)