From 247a289dbf22cc7b9a3417b250f1e81ecd3ee00b Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 4 Sep 2015 18:33:58 -0700 Subject: [PATCH] Add help for turn off/on bash history for config host command --- config-host-main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config-host-main.go b/config-host-main.go index 923ebc3c..68f66b52 100644 --- a/config-host-main.go +++ b/config-host-main.go @@ -26,8 +26,10 @@ USAGE: OPERATION = add | list | remove EXAMPLES: - 1. Add host configuration for a URL. + 1. Add host configuration for a URL. For security reasons turn off bash history + $ set +o history $ mc config {{.Name}} add s3.amazonaws.com BKIKJAA5BMMU2RHO6IBB V7f1C\wQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr1 + $ set -o history 2. List all hosts. $ mc config {{.Name}} list