mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 03:24:17 +00:00
refactor usage
This commit is contained in:
@@ -43,10 +43,10 @@ USAGE = """
|
|||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
dotdrop install [-tfndVbD] [-c <path>] [-p <profile>] [<key>...]
|
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>]
|
dotdrop compare [-Vb] [-c <path>] [-p <profile>]
|
||||||
[-o <opts>] [-C <file>...] [-i <pattern>...]
|
[-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 listfiles [-VTb] [-c <path>] [-p <profile>]
|
||||||
dotdrop list [-Vb] [-c <path>]
|
dotdrop list [-Vb] [-c <path>]
|
||||||
dotdrop --help
|
dotdrop --help
|
||||||
@@ -408,11 +408,11 @@ def main():
|
|||||||
|
|
||||||
elif args['import']:
|
elif args['import']:
|
||||||
# import dotfile(s)
|
# import dotfile(s)
|
||||||
cmd_importer(opts, conf, args['<paths>'])
|
cmd_importer(opts, conf, args['<path>'])
|
||||||
|
|
||||||
elif args['update']:
|
elif args['update']:
|
||||||
# update a dotfile
|
# update a dotfile
|
||||||
cmd_update(opts, conf, args['<paths>'])
|
cmd_update(opts, conf, args['<path>'])
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
LOG.err('interrupted')
|
LOG.err('interrupted')
|
||||||
|
|||||||
Reference in New Issue
Block a user