summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/cli
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-05-29 12:22:16 +0200
committerOliver Poignant <oliver@poignant.se>2016-05-29 12:22:22 +0200
commit9538eeae249c694feb3a2494804f36857e95c4af (patch)
treead5e0e85427df7ad1f30a98684439cf66ee3ff5f /gitautodeploy/cli
parent208ebb8641ab1f9d58ea69377773216af36829f6 (diff)
downloadGit-Auto-Deploy-9538eeae249c694feb3a2494804f36857e95c4af.zip
Git-Auto-Deploy-9538eeae249c694feb3a2494804f36857e95c4af.tar.gz
Git-Auto-Deploy-9538eeae249c694feb3a2494804f36857e95c4af.tar.bz2
Renamed and fixed bug in keyscan feature
Diffstat (limited to 'gitautodeploy/cli')
-rw-r--r--gitautodeploy/cli/config.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gitautodeploy/cli/config.py b/gitautodeploy/cli/config.py
index cd8c54c..4ca677d 100644
--- a/gitautodeploy/cli/config.py
+++ b/gitautodeploy/cli/config.py
@@ -5,7 +5,7 @@ def get_config_defaults():
config['quiet'] = False
config['daemon-mode'] = False
config['config'] = None
- config['ssh-keygen'] = False
+ config['ssh-keyscan'] = False
config['force'] = False
config['ssl'] = False
config['ssl-pem-file'] = '~/.gitautodeploy.pem'
@@ -44,8 +44,8 @@ def get_config_from_environment():
if 'GAD_CONFIG' in os.environ:
config['config'] = os.environ['GAD_CONFIG']
- if 'GAD_SSH_KEYGEN' in os.environ:
- config['ssh-keygen'] = True
+ if 'GAD_SSH_KEYSCAN' in os.environ:
+ config['ssh-keyscan'] = True
if 'GAD_FORCE' in os.environ:
config['force'] = True
@@ -90,9 +90,9 @@ def get_config_from_argv(argv):
dest="config",
type=str)
- parser.add_argument("--ssh-keygen",
+ parser.add_argument("--ssh-keyscan",
help="scan repository hosts for ssh keys",
- dest="ssh-keygen",
+ dest="ssh-keyscan",
action="store_true")
parser.add_argument("--force",