Shorten help.

This commit is contained in:
Arun Prakash Jana 2017-09-17 11:53:55 +05:30
parent ff57ae5c2f
commit 4e56a3744b
No known key found for this signature in database
GPG Key ID: A75979F35C080412
2 changed files with 6 additions and 10 deletions

View File

@ -188,14 +188,12 @@ SEARCH OPTIONS:
search bookmarks by tags search bookmarks by tags
use ',' to find entries matching ANY tag use ',' to find entries matching ANY tag
use '+' to find entries matching ALL tags use '+' to find entries matching ALL tags
excludes entries matching tags following ' - ' excludes entries with tags after ' - '
list all tags, if no search keywords list all tags, if no search keywords
ENCRYPTION OPTIONS: ENCRYPTION OPTIONS:
-l, --lock [N] encrypt DB file with N (> 0, default 8) -l, --lock [N] encrypt DB in N (default 8) # iterations
hash iterations to generate key -k, --unlock [N] decrypt DB in N (default 8) # iterations
-k, --unlock [N] decrypt DB file with N (> 0, default 8)
hash iterations to generate key
POWER TOYS: POWER TOYS:
--ai auto-import from Firefox and Chrome --ai auto-import from Firefox and Chrome

View File

@ -3868,7 +3868,7 @@ POSITIONAL ARGUMENTS:
search bookmarks by tags search bookmarks by tags
use ',' to find entries matching ANY tag use ',' to find entries matching ANY tag
use '+' to find entries matching ALL tags use '+' to find entries matching ALL tags
excludes entries matching tags following ' - ' excludes entries with tags after ' - '
list all tags, if no search keywords''') list all tags, if no search keywords''')
addarg = search_grp.add_argument addarg = search_grp.add_argument
addarg('-s', '--sany', action='store_true', help=HIDE) addarg('-s', '--sany', action='store_true', help=HIDE)
@ -3883,10 +3883,8 @@ POSITIONAL ARGUMENTS:
crypto_grp = argparser.add_argument_group( crypto_grp = argparser.add_argument_group(
title='ENCRYPTION OPTIONS', title='ENCRYPTION OPTIONS',
description=''' -l, --lock [N] encrypt DB file with N (> 0, default 8) description=''' -l, --lock [N] encrypt DB in N (default 8) # iterations
hash iterations to generate key -k, --unlock [N] decrypt DB in N (default 8) # iterations''')
-k, --unlock [N] decrypt DB file with N (> 0, default 8)
hash iterations to generate key''')
addarg = crypto_grp.add_argument addarg = crypto_grp.add_argument
addarg('-k', '--unlock', nargs='?', type=int, const=8, help=HIDE) addarg('-k', '--unlock', nargs='?', type=int, const=8, help=HIDE)
addarg('-l', '--lock', nargs='?', type=int, const=8, help=HIDE) addarg('-l', '--lock', nargs='?', type=int, const=8, help=HIDE)