Merge pull request #4354 from certbot/more-ua

Add extra information to user-agent
This commit is contained in:
ohemorange
2017-04-28 19:17:39 -07:00
committed by GitHub
2 changed files with 44 additions and 12 deletions
+6 -3
View File
@@ -1109,10 +1109,13 @@ def _create_subparsers(helpful):
helpful.add(
None, "--user-agent", default=None,
help="Set a custom user agent string for the client. User agent strings allow "
"the CA to collect high level statistics about success rates by OS and "
"plugin. If you wish to hide your server OS version from the Let's "
"the CA to collect high level statistics about success rates by OS, "
"plugin and use case, and to know when to deprecate support for past Python "
"versions and flags. If you wish to hide this information from the Let's "
'Encrypt server, set this to "". '
'(default: {0})'.format(sample_user_agent()))
'(default: {0}). The flags encoded in the user agent are: '
'--duplicate, --force-renew, --allow-subset-of-names, -n, and '
'whether any hooks are set.'.format(sample_user_agent()))
helpful.add("certonly",
"--csr", type=read_file,
help="Path to a Certificate Signing Request (CSR) in DER or PEM format."