mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 15:28:59 +00:00
add option for not displaying the banner
This commit is contained in:
@@ -44,13 +44,13 @@ USAGE = """
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
dotdrop install [-fndV] [-c <path>] [-p <profile>]
|
dotdrop install [-fndVb] [-c <path>] [-p <profile>]
|
||||||
dotdrop import [-ldV] [-c <path>] [-p <profile>] <paths>...
|
dotdrop import [-ldVb] [-c <path>] [-p <profile>] <paths>...
|
||||||
dotdrop compare [-V] [-c <path>] [-p <profile>]
|
dotdrop compare [-Vb] [-c <path>] [-p <profile>]
|
||||||
[-o <opts>] [--files=<files>]
|
[-o <opts>] [--files=<files>]
|
||||||
dotdrop update [-fdV] [-c <path>] <path>
|
dotdrop update [-fdVb] [-c <path>] <path>
|
||||||
dotdrop listfiles [-V] [-c <path>] [-p <profile>]
|
dotdrop listfiles [-Vb] [-c <path>] [-p <profile>]
|
||||||
dotdrop list [-V] [-c <path>]
|
dotdrop list [-Vb] [-c <path>]
|
||||||
dotdrop --help
|
dotdrop --help
|
||||||
dotdrop --version
|
dotdrop --version
|
||||||
|
|
||||||
@@ -64,6 +64,7 @@ Options:
|
|||||||
-f --force Do not warn if exists.
|
-f --force Do not warn if exists.
|
||||||
-V --verbose Be verbose.
|
-V --verbose Be verbose.
|
||||||
-d --dry Dry run.
|
-d --dry Dry run.
|
||||||
|
-b --no-banner Do not display the banner.
|
||||||
-v --version Show version.
|
-v --version Show version.
|
||||||
-h --help Show this screen.
|
-h --help Show this screen.
|
||||||
|
|
||||||
@@ -308,7 +309,8 @@ def main():
|
|||||||
LOG.debug = opts['debug']
|
LOG.debug = opts['debug']
|
||||||
LOG.dbg('opts: {}'.format(opts))
|
LOG.dbg('opts: {}'.format(opts))
|
||||||
|
|
||||||
header()
|
if not args['--no-banner']:
|
||||||
|
header()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user