1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

refactor usage

This commit is contained in:
deadc0de6
2018-10-08 18:17:08 +02:00
parent f6db3d3866
commit b71cbefa10

View File

@@ -43,10 +43,10 @@ USAGE = """
Usage:
dotdrop install [-tfndVbD] [-c <path>] [-p <profile>] [<key>...]
dotdrop import [-ldVb] [-c <path>] [-p <profile>] <paths>...
dotdrop import [-ldVb] [-c <path>] [-p <profile>] <path>...
dotdrop compare [-Vb] [-c <path>] [-p <profile>]
[-o <opts>] [-C <file>...] [-i <pattern>...]
dotdrop update [-fdVb] [-c <path>] [-p <profile>] <paths>...
dotdrop update [-fdVb] [-c <path>] [-p <profile>] <path>...
dotdrop listfiles [-VTb] [-c <path>] [-p <profile>]
dotdrop list [-Vb] [-c <path>]
dotdrop --help
@@ -408,11 +408,11 @@ def main():
elif args['import']:
# import dotfile(s)
cmd_importer(opts, conf, args['<paths>'])
cmd_importer(opts, conf, args['<path>'])
elif args['update']:
# update a dotfile
cmd_update(opts, conf, args['<paths>'])
cmd_update(opts, conf, args['<path>'])
except KeyboardInterrupt:
LOG.err('interrupted')