Browse code

Remove unicode chars from --server-side-encryption-kms-id helptext

Commit a0fa0c3e1554 accidentally introduced unicode characters for
the '-' characters in the helptext for this option. This causes
--help to fail with a unicode error traceback. Replace the unicode
dashes with ascii dashes.

Matt Domsch authored on 2015/09/18 13:14:31
Showing 1 changed files
... ...
@@ -2438,7 +2438,7 @@ def main():
2438 2438
     optparser.add_option(      "--remove-header", dest="remove_headers", action="append", metavar="NAME", help="Remove a given HTTP header.  Can be used multiple times.  For instance, remove 'Expires' or 'Cache-Control' headers (or both) using this option. [modify]")
2439 2439
 
2440 2440
     optparser.add_option(      "--server-side-encryption", dest="server_side_encryption", action="store_true", help="Specifies that server-side encryption will be used when putting objects. [put, sync, cp, modify]")
2441
-    optparser.add_option(      "--server-side-encryption-kms-id", dest="kms_key", action="store", help="Specifies the key id used for server-side encryption with AWS KMS–Managed Keys (SSE-KMS) when putting objects. [put, sync, cp, modify]")
2441
+    optparser.add_option(      "--server-side-encryption-kms-id", dest="kms_key", action="store", help="Specifies the key id used for server-side encryption with AWS KMS-Managed Keys (SSE-KMS) when putting objects. [put, sync, cp, modify]")
2442 2442
 
2443 2443
     optparser.add_option(      "--encoding", dest="encoding", metavar="ENCODING", help="Override autodetected terminal and filesystem encoding (character set). Autodetected: %s" % autodetected_encoding)
2444 2444
     optparser.add_option(      "--add-encoding-exts", dest="add_encoding_exts", metavar="EXTENSIONs", help="Add encoding to these comma delimited extensions i.e. (css,js,html) when uploading to S3 )")