From e9be7168bcb5ca97c03c5c79a4ce47eb14c44ec6 Mon Sep 17 00:00:00 2001 From: Christine Spang Date: Tue, 28 Mar 2017 16:47:02 -0700 Subject: [PATCH] [dev] Make help message better on deploy-it --- deploy-it | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy-it b/deploy-it index e9f952f18..127d6433d 100755 --- a/deploy-it +++ b/deploy-it @@ -1,15 +1,18 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -# deploy-it is the script we use to deploy changes to our N1 backend systems. +# deploy-it is the script we use to deploy changes to our Nylas Mail backend systems. # it tags releases automatically and helps prevent obvious mistakes like # deploying a non-production branch to our prod infra. import sys import subprocess if len(sys.argv) != 2 or sys.argv[1] in ('-h', '--help'): - print "deploy-it is the script we use to deploy changes to our N1 backend systems." - print "usage: deploy-it environment" + print "deploy-it is the script we use to deploy changes to our Nylas Mail backend systems." + print + print "usage: ./deploy-it environment" + print + print "The currently checked out commit will be deployed!" sys.exit(-1) environment = sys.argv[1]