summaryrefslogtreecommitdiff
path: root/doc/pacman-conf.8.asciidoc
blob: c067166d0b9241afde183e2dd5210833a6b1d606 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
pacman-conf(8)
==============

Name
----
pacman-conf - query pacman's configuration file


Synopsis
--------
'pacman-conf' [options] [<directive> ...]

'pacman-conf' (--repo-list|--help|--version)


Description
-----------
'pacman-conf' is a utility for parsing the 'pacman' configuration file
and returning script-friendly output. It is designed to properly handle
non-trivial configuration features such as variable interpolation and
the use of the Include directive, and guarantees that it will return the
same configuration values which 'pacman' itself would use.

'pacman-conf' will output the fully-resolved contents of the
configuration file by default, or, if provided with the name of a
configuration directive, output the contents of the given directive alone.


Options
-------
*-c, \--config* <path>::
	Specify an alternate configuration file.

*-R, \--rootdir* <path>::
	Specify an alternate installation root (default is `/`).

*-r, \--repo* <remote>::
	Query options for a specific repository.

*-v, \--verbose*::
	Always shown directive names.

*-l, \--repo-list*::
	List configured repositories.

*-h, \--help*::
	Output syntax and command line options.

*-V, \--version*::
	Display version and exit.


Examples
--------

pacman-conf -r core Usage::
	Show the value of the Usage configuration option for core repository.

pacman-conf HoldPkg::
	Show the value of the HoldPkg configuration option.


See Also
--------
linkman:pacman.conf[5]

include::footer.asciidoc[]