summaryrefslogtreecommitdiff
path: root/dotbot/cli.py
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2015-04-24 18:26:20 -0400
committerAnish Athalye <me@anishathalye.com>2015-04-24 18:26:20 -0400
commitfd08ddacd34530186f3954b435d4dd90b5b9471f (patch)
tree94c0c4421bc51bace17c8a27968a6ce7d4fb4393 /dotbot/cli.py
parentbdc1b2205f00c7fb80412668edb1171155b3fcec (diff)
Fix style
Fix formatting of keyword arguments according to PEP 8.
Diffstat (limited to 'dotbot/cli.py')
-rw-r--r--dotbot/cli.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/dotbot/cli.py b/dotbot/cli.py
index c280ca1..fffc017 100644
--- a/dotbot/cli.py
+++ b/dotbot/cli.py
@@ -5,18 +5,18 @@ from .messenger import Messenger
from .messenger import Level
def add_options(parser):
- parser.add_argument('-Q', '--super-quiet', dest = 'super_quiet', action = 'store_true',
- help = 'suppress almost all output')
- parser.add_argument('-q', '--quiet', dest = 'quiet', action = 'store_true',
- help = 'suppress most output')
- parser.add_argument('-v', '--verbose', dest = 'verbose', action = 'store_true',
- help = 'enable verbose output')
- parser.add_argument('-d', '--base-directory', nargs = 1,
- dest = 'base_directory', help = 'execute commands from within BASEDIR',
- metavar = 'BASEDIR', required = True)
- parser.add_argument('-c', '--config-file', nargs = 1, dest = 'config_file',
- help = 'run commands given in CONFIGFILE', metavar = 'CONFIGFILE',
- required = True)
+ parser.add_argument('-Q', '--super-quiet', dest='super_quiet', action='store_true',
+ help='suppress almost all output')
+ parser.add_argument('-q', '--quiet', dest='quiet', action='store_true',
+ help='suppress most output')
+ parser.add_argument('-v', '--verbose', dest='verbose', action='store_true',
+ help='enable verbose output')
+ parser.add_argument('-d', '--base-directory', nargs=1,
+ dest='base_directory', help='execute commands from within BASEDIR',
+ metavar='BASEDIR', required=True)
+ parser.add_argument('-c', '--config-file', nargs=1, dest='config_file',
+ help='run commands given in CONFIGFILE', metavar='CONFIGFILE',
+ required=True)
def read_config(config_file):
reader = ConfigReader(config_file)