| 1 | # Global test config file for t-argparse |
| 2 | |
| 3 | # Options applied to all user's config files |
| 4 | #verbose |
| 5 | |
| 6 | |
| 7 | # The meta command echo simply prints the argument. With a dash |
| 8 | # prefix it does not prepend the file name and line number. |
| 9 | [-echo Begin global config] |
| 10 | |
| 11 | [-echo use $${_user} to echo the current user (${_user})] |
| 12 | [-echo use $${_file} to echo the current file (${_file})] |
| 13 | [-echo use $${_line} to echo the current line (${_line})] |
| 14 | [-echo use $${_epoch} to echo a timestamp (${_epoch})] |
| 15 | |
| 16 | [verbose] |
| 17 | |
| 18 | [user joy] |
| 19 | # All the following options are applied only if the current user's |
| 20 | # account name is "joy" (case-insensitive). This ends with the next |
| 21 | # user statement. This does not affect "echo" and "verbose". |
| 22 | |
| 23 | # info is an alias for echo but only executed if a user secion is active. |
| 24 | # For future compatibility do not use percent or dollar signs. |
| 25 | [-info In user Joy but real user id ${user}] |
| 26 | |
| 27 | [-verbose] |
| 28 | [+force] |
| 29 | # All following option are forced and thus ignored when set in user |
| 30 | # config files. Valid until the next [user] statement. Take care |
| 31 | # that there are often "no-", "disable-", or "enable-" versions of |
| 32 | # options; these should be explictly marked as ignored so that they |
| 33 | # can't be used to override the force attribute. |
| 34 | |
| 35 | [ignore] |
| 36 | |
| 37 | # The compliance is set immutable for these users |
| 38 | verbose |
| 39 | |
| 40 | [-force] |
| 41 | not-my-option |
| 42 | |
| 43 | # If uncommented The next shall raise an error due to the garbage at the end. |
| 44 | #<off>[+ignore] fooo |
| 45 | |
| 46 | |
| 47 | [+ignore-all] |
| 48 | # All options are ignored. |
| 49 | |
| 50 | |
| 51 | [-ignore] # Comment at line end |
| 52 | # Options wich shall not be ignored. */ |
| 53 | #no-verbose |
| 54 | |
| 55 | |
| 56 | # Options applied only for user joy end here. |
| 57 | [user wk ] |
| 58 | [-info Options applied only for user wk follow] |
| 59 | |
| 60 | [ignore] |
| 61 | output |
| 62 | [-ignore] |
| 63 | |
| 64 | |
| 65 | # Change the immutable attribute back to mutable. |
| 66 | [-force] |
| 67 | #compliance gnupg |
| 68 | |
| 69 | # Default key for user john |
| 70 | my-option 42 |
| 71 | |
| 72 | [expand] |
| 73 | [getreg foo HKCU\Software\GNU\GnuPG:DisableAKR] |
| 74 | disable-akr $foo |
| 75 | [-expand] |
| 76 | |
| 77 | # Options applied only for user joy end here. |
| 78 | [user *] |
| 79 | [-info All the following options are applied only if the] |
| 80 | [-info current user has no specific section above.] |
| 81 | |
| 82 | # The default algorithm for new keys is set to this. |
| 83 | a-long-option |
| 84 | |
| 85 | [-echo End global config] |