Update program help.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
This commit is contained in:
Arun Prakash Jana 2016-05-23 12:11:42 +05:30
parent 0cb2fd8070
commit a6589bd86a
2 changed files with 6 additions and 6 deletions

View File

@ -122,7 +122,7 @@ Shell completion scripts for Bash, Fish and Zsh can be found in respective subdi
edit options:
--url keyword specify url, works with -u only
--tag [...] set comma-separated tags, works with -a, -u
clears tag, if no arguments
clears tags, if no arguments
-t, --title [...] manually set title, works with -a, -u
if no arguments:
-a: do not set title, -u: clear title
@ -151,9 +151,9 @@ Shell completion scripts for Bash, Fish and Zsh can be found in respective subdi
-f, --format N modify -p output
N=1: show only URL, N=2: show URL and tag
-r, --replace oldtag [newtag ...]
replace oldtag with newtag in all bookmarks
replace oldtag with newtag everywhere
delete oldtag, if no newtag
-j, --json Json formatted output, for -p, -s, -S, --st
-j, --json Json formatted output for -p, -s, -S, --st
-o, --open N open bookmark at DB index N in web browser
-z, --debug show debug information and additional logs

6
buku
View File

@ -1296,7 +1296,7 @@ general_group.add_argument('-h', '--help', dest='help', action='store_true', hel
edit_group=argparser.add_argument_group(title="edit options",
description='''--url keyword specify url, works with -u only
--tag [...] set comma-separated tags, works with -a, -u
clears tag, if no arguments
clears tags, if no arguments
-t, --title [...] manually set title, works with -a, -u
if no arguments:
-a: do not set title, -u: clear title
@ -1337,9 +1337,9 @@ power_group=argparser.add_argument_group(title="power toys",
-f, --format N modify -p output
N=1: show only URL, N=2: show URL and tag
-r, --replace oldtag [newtag ...]
replace oldtag with newtag in all bookmarks
replace oldtag with newtag everywhere
delete oldtag, if no newtag
-j, --json Json formatted output, for -p, -s, -S, --st
-j, --json Json formatted output for -p, -s, -S, --st
-o, --open N open bookmark at DB index N in web browser
-z, --debug show debug information and additional logs''')
power_group.add_argument('-p', '--print', nargs='?', dest='printindex', type=int, const=0, metavar='N', help=argparse.SUPPRESS)