Fix typo in usage of encrypt_string command (#32961)

This commit is contained in:
Valentin Krasontovitsch 2017-11-19 15:20:57 +01:00 committed by Abhijeet Kasurde
parent 0334b3fd99
commit bf7f56f413

View file

@ -102,7 +102,7 @@ class VaultCLI(CLI):
self.parser.add_option('--stdin-name', dest='encrypt_string_stdin_name',
default=None,
help="Specify the variable name for stdin")
self.parser.set_usage("usage: %prog encrypt-string [--prompt] [options] string_to_encrypt")
self.parser.set_usage("usage: %prog encrypt_string [--prompt] [options] string_to_encrypt")
elif self.action == "rekey":
self.parser.set_usage("usage: %prog rekey [options] file_name")