1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-10 19:39:15 +00:00

clean usage

This commit is contained in:
deadc0de6
2017-09-08 13:04:21 +02:00
parent 07e2a399d2
commit b9e932c623
2 changed files with 13 additions and 14 deletions

View File

@@ -139,10 +139,9 @@ For additional usage see the help:
``` ```
$ ./dotdrop.sh --help $ ./dotdrop.sh --help
_ _ _
__| | ___ | |_ __| |_ __ ___ _ __ __| | ___ | |_ __| |_ __ ___ _ __
/ _` |/ _ \| __/ _` | '__/ _ \| '_ | / _` |/ _ \| __/ _` | '__/ _ \| '_ |
\__,_|\___/ \__\__,_|_| \___/| .__/ \__,_|\___/ \__\__,_|_| \___/| .__/ v0.2
|_| |_|
Usage: Usage:
@@ -150,18 +149,18 @@ Usage:
dotdrop.py compare [-c <path>] [--profile=<profile>] [--files=<files>] dotdrop.py compare [-c <path>] [--profile=<profile>] [--files=<files>]
dotdrop.py import [-ldc <path>] [--profile=<profile>] <paths>... dotdrop.py import [-ldc <path>] [--profile=<profile>] <paths>...
dotdrop.py list [-c <path>] dotdrop.py list [-c <path>]
dotdrop.py (-h | --help) dotdrop.py --help
dotdrop.py (-v | --version) dotdrop.py --version
Options: Options:
--profile=<profile> Specify the profile to use [default: thor]. --profile=<profile> Specify the profile to use [default: thor].
-c --cfg=<path> Path to the config [default: /home/drits/tools/dotdrop/config.yaml]. -c --cfg=<path> Path to the config [default: /home/drits/tools/dotdrop/config.yaml].
--files=<files> Comma separated list of files to compare. --files=<files> Comma separated list of files to compare.
-n --nodiff Do not diff when installing [default: False]. -n --nodiff Do not diff when installing.
-l --link Import and link [default: False]. -l --link Import and link.
-f --force Do not warn if exists [default: False]. -f --force Do not warn if exists.
-d --dry Dry run. -d --dry Dry run.
-v --version Show version. --version Show version.
-h --help Show this screen. -h --help Show this screen.
``` ```

View File

@@ -34,18 +34,18 @@ Usage:
dotdrop.py compare [-c <path>] [--profile=<profile>] [--files=<files>] dotdrop.py compare [-c <path>] [--profile=<profile>] [--files=<files>]
dotdrop.py import [-ldc <path>] [--profile=<profile>] <paths>... dotdrop.py import [-ldc <path>] [--profile=<profile>] <paths>...
dotdrop.py list [-c <path>] dotdrop.py list [-c <path>]
dotdrop.py (-h | --help) dotdrop.py --help
dotdrop.py (-v | --version) dotdrop.py --version
Options: Options:
--profile=<profile> Specify the profile to use [default: %s]. --profile=<profile> Specify the profile to use [default: %s].
-c --cfg=<path> Path to the config [default: %s/config.yaml]. -c --cfg=<path> Path to the config [default: %s/config.yaml].
--files=<files> Comma separated list of files to compare. --files=<files> Comma separated list of files to compare.
-n --nodiff Do not diff when installing [default: False]. -n --nodiff Do not diff when installing.
-l --link Import and link [default: False]. -l --link Import and link.
-f --force Do not warn if exists [default: False]. -f --force Do not warn if exists.
-d --dry Dry run. -d --dry Dry run.
-v --version Show version. --version Show version.
-h --help Show this screen. -h --help Show this screen.
""" % (BANNER, HOSTNAME, CUR) """ % (BANNER, HOSTNAME, CUR)