summaryrefslogtreecommitdiff
path: root/tests/etc/t-argparse.conf
blob: c556466225bc741d46b67f5e5801c74ad5baa7a4 (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
# Global test config file for t-argparse

# Options applied to all user's config files
#verbose

[echo Begin global config]

[group :staff]
# These option are applied to all users of the group staff up until
# the next [group] or [user] statement.

[+force]
# All following option are forced and thus ignored when set in user
# config files.  Valid until the next [user] statement.  Take care
# that there are often "no-", "disable-", or "enable-" versions of
# options; these should be explictly marked as ignored so that they
# can't be used to override the force attribute.

[ignore]

# The compliance is set immutable for these users
verbose

# The next shall raise an error due to the garpage at the end.
#<off>[+ignore]   fooo


#[+ignore-all]
# All options are ignored.


[-ignore]  # Comment at  line end
# Options wich shall not be ignored.  */
#no-verbose


[user john  ]
# Options for user john

# Change the immutable attribute back to mutable.
[-force]
#compliance gnupg

# Default key for user john
my-option 42

# Parsing stops for user WK here.

[group * ]
# Options for all group which have no specific group sections above

[user *]
# Options for all users which have no specific user sections above

# The default algorithm for new keys is set to this.
a-long-option

[echo End global config]