blob: 8ae073dddeb1a01106b6f5dc8176371d411218f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
.TH "cpt-alternatives" "1" "2020-07-24" "CARBS LINUX" "General Commands Manual"
.SH NAME
cpt-alternatives
.SH DESCRIPTION
List and swap to alternatives
.PP
.SH SYNOPSIS
\fBcpt-alternatives\fR [-] [pkg file]
.SH USAGE
cpt-alternatives can be used to list alternatives (when run without arguments).
It can read from standard input if ('-' is given as an argument). If you want to
otherwise
.SH EXAMPLES
.nf
+-----------------------------------------------------------------------+
| List alternatives |
+-----------------------------------------------------------------------+
| |
| $ cpt-alternatives |
| ncurses /usr/bin/clear |
| ncurses /usr/bin/reset |
| |
+-----------------------------------------------------------------------+
| Swap to 'clear' from ncurses. |
+-----------------------------------------------------------------------+
| |
| $ cpt-alternatives ncurses /usr/bin/clear |
| -> Swapping '/usr/bin/clear' from 'busybox' to 'ncurses' |
| |
+-----------------------------------------------------------------------+
| Swap in bulk (all of sbase). |
+-----------------------------------------------------------------------+
| |
| $ cpt-alternatives | grep ^sbase | cpt-alternatives - |
| |
+-----------------------------------------------------------------------+
.fi
.SH LICENSE
See LICENSE for copyright information.
.SH SEE ALSO
cpt(1)
|