comparison docs/man/man8/fports.rst @ 804:f406b3b76b62

fports: Implemented also long commandline options
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 04 Nov 2024 11:44:47 +0100
parents 8167b2a8b4fe
children b59054f11029
comparison
equal deleted inserted replaced
803:2cd233b137ec 804:f406b3b76b62
7 7
8 8
9 Synopsis 9 Synopsis
10 -------- 10 --------
11 11
12 **fports -h** 12 **fports** **-h**\|\ **--help**
13 13
14 **fports -V** 14 **fports** **-V**\|\ **--version**
15 15
16 **fports deptree** [**-l** `maxlevel`] [**-r**] [**t**] `package` ... 16 **fports deptree** [**-l** `maxlevel`\|\ **--maxlevel**\=\ `maxlevel`] [**-r**\|\ **--reverse**] [**-t**\|\ **--list**\|\ **--transitive**] `package` ...
17 17
18 **fports detail -n** 18 **fports detail** **-n**\|\ **--noauto**\|\ **--no-auto**
19 19
20 **fports detail -m** 20 **fports detail** **-m**\|\ **--mapped**
21 21
22 **fports detail** `package` ... 22 **fports detail** `package` ...
23 23
24 24
25 Description 25 Description
40 Subcommands 40 Subcommands
41 ----------- 41 -----------
42 42
43 These global options are implemented: 43 These global options are implemented:
44 44
45 .. option:: -h 45 .. option:: -h, --help
46 46
47 Print a short usage message to stdout and exit. 47 Print a short usage message to stdout and exit.
48 48
49 .. option:: -V 49 .. option:: -V, --version
50 50
51 Print the program name and version number to stdout and exit. 51 Print the program name and version number to stdout and exit.
52 52
53 53
54 **fports deptree** [**-l** `maxlevel`] [**-r**] [**t**] `package`... 54 **fports deptree** [**-l** `maxlevel`\|\ **--maxlevel**\=\ `maxlevel`] [**-r**\|\ **--reverse**] [**-t**\|\ **--list**\|\ **--transitive**] `package` ...
55 55
56 Print a dependency tree for every given `package`. A package tree is 56 Print a dependency tree for every given `package`. A package tree is
57 a hierarchical list of packages that `packages` depends on. 57 a hierarchical list of packages that `packages` depends on.
58 58
59 .. program:: fports deptree 59 .. program:: fports deptree
60 60
61 .. option:: -t 61 .. option:: -t, --list, --transitive
62 62
63 Instead of printing the dependencies as tree print them as a sorted 63 Instead of printing the dependencies as tree print them as a sorted
64 list. This list is the transitive closure of all dependencies. 64 list. This list is the transitive closure of all dependencies.
65 65
66 .. option:: -l <maxlevel> 66 .. option:: -l <maxlevel>, --maxlevel=<maxlevel>
67 67
68 Limit the output to sub-levels up to `maxlevel`. To print only 68 Limit the output to sub-levels up to `maxlevel`. To print only
69 direct dependencies use a `maxlevel` of `1`. 69 direct dependencies use a `maxlevel` of `1`.
70 Default is 0 (i.e. no limit). 70 Default is 0 (i.e. no limit).
71 71
72 .. option:: -r 72 .. option:: -r, --reverse
73 73
74 Use reversed dependencies and print the package tree for all packages 74 Use reversed dependencies and print the package tree for all packages
75 that depend on a given `package`. 75 that depend on a given `package`.
76 76
77 77
78 **fports detail -n** 78 **fports detail** **-n**\|\ **--noauto**\|\ **--no-auto**
79 79
80 **fports detail -m** 80 **fports detail** **-m**\|\ **--mapped**
81 81
82 **fports detail** `package` ... 82 **fports detail** `package` ...
83 83
84 Print the status of all given or selected packages in the most 84 Print the status of all given or selected packages in the most
85 detail possible. 85 detail possible.
90 A package mapping is considered also if applicable. 90 A package mapping is considered also if applicable.
91 See :manpage:`package-mapping.conf(5)`. 91 See :manpage:`package-mapping.conf(5)`.
92 92
93 .. program:: fports deptree 93 .. program:: fports deptree
94 94
95 .. option:: -n 95 .. option:: -n, --noauto, --no-auto
96 96
97 Automatically select all packages that are *not* installed automatically. 97 Automatically select all packages that are *not* installed automatically.
98 98
99 .. option:: -m 99 .. option:: -m, --mapped
100 100
101 Automatically select all packages that have a package mapping entry 101 Automatically select all packages that have a package mapping entry
102 in :file:`package-mapping.conf`. See :manpage:`package-mapping.conf(5)`. 102 in :file:`package-mapping.conf`. See :manpage:`package-mapping.conf(5)`.
103 103
104 104