diff options
Diffstat (limited to 'tests/etc')
-rw-r--r-- | tests/etc/t-argparse.conf | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/tests/etc/t-argparse.conf b/tests/etc/t-argparse.conf index 87bff72..0852e71 100644 --- a/tests/etc/t-argparse.conf +++ b/tests/etc/t-argparse.conf @@ -3,33 +3,51 @@ # Options applied to all user's config files #verbose -#[user :staff] -# These option are applied to all users the group staff up until the -# next [user statement] +[group :staff] +# These option are applied to all users of the group staff up until +# the next [group] or [user] statement. -#[+force] +[+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] +[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 -# (parsing does not stop for a group) -#[user wk] -# Options for user wk +[user john ] +# Options for user john -# Change the immutable flag back to mutable. -#[] compliance gnupg +# Change the immutable attribute back to mutable. +[-force] +#compliance gnupg -# Default key for wk +# Default key for user john my-option 42 # Parsing stops for user WK here. -#[user *] +[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. |