Skip to content

Commit

Permalink
fix naming of --secureFiles flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Mar 4, 2022
1 parent 42b615f commit f996c45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/kbn-es/src/cli_commands/snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports.help = (defaults = {}) => {
--skip-ready-check Disable the ready check,
--ready-timeout Customize the ready check timeout, in seconds or "Xm" format, defaults to 1m
--plugins Comma seperated list of Elasticsearch plugins to install
--secureFiles Comma seperated list of secure_setting_name=/path pairs
--secure-files Comma seperated list of secure_setting_name=/path pairs
Example:
Expand All @@ -60,6 +60,7 @@ exports.run = async (defaults = {}) => {
useCached: 'use-cached',
skipReadyCheck: 'skip-ready-check',
readyTimeout: 'ready-timeout',
secureFiles: 'secure-files',
},

string: ['version', 'ready-timeout'],
Expand Down
3 changes: 2 additions & 1 deletion packages/kbn-es/src/cli_commands/source.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ exports.help = (defaults = {}) => {
--password.[user] Sets password for native realm user [default: ${password}]
--ssl Sets up SSL on Elasticsearch
--plugins Comma seperated list of Elasticsearch plugins to install
--secureFiles Comma seperated list of secure_setting_name=/path pairs
--secure-files Comma seperated list of secure_setting_name=/path pairs
-E Additional key=value settings to pass to Elasticsearch
--skip-ready-check Disable the ready check,
--ready-timeout Customize the ready check timeout, in seconds or "Xm" format, defaults to 1m
Expand All @@ -49,6 +49,7 @@ exports.run = async (defaults = {}) => {
dataArchive: 'data-archive',
skipReadyCheck: 'skip-ready-check',
readyTimeout: 'ready-timeout',
secureFiles: 'secure-files',
esArgs: 'E',
},

Expand Down

0 comments on commit f996c45

Please sign in to comment.