Man and help update.

This commit is contained in:
Arun Prakash Jana 2016-06-08 22:27:50 +05:30
parent aba920da6c
commit cc30cce6a9
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB
3 changed files with 5 additions and 22 deletions

View File

@ -110,11 +110,7 @@ Shell completion scripts for Bash, Fish and Zsh can be found in respective subdi
**NOTE:** If you are using `buku` v1.9 or below please refer to the installed man page or program help.
usage: buku [-a URL [tags ...]] [-u [N]] [-d [N]] [-h]
[--url keyword] [--tag [...]] [-t [...]] [-c [...]]
[-s keyword [...]] [-S keyword [...]] [--st [...]]
[-k [N]] [-l [N]] [-p [N]] [-f N] [-r oldtag [newtag ...]]
[-j] [-e file] [-i file] [-m file] [--noprompt] [-o N]
usage: buku [OPTIONS] [KEYWORD [KEYWORD ...]]
A private command-line bookmark manager. Your mini web!
@ -147,7 +143,7 @@ Shell completion scripts for Bash, Fish and Zsh can be found in respective subdi
special keyword -
"blank": list entries with empty title/tag
--st, --stag [...] search bookmarks by tag
list all tags alphabetically, if no arguments
list tags alphabetically, if no arguments
encryption options:
-l, --lock [N] encrypt DB file with N (> 0, default 8)

8
buku
View File

@ -1417,11 +1417,7 @@ if __name__ == '__main__':
argparser = ExtendedArgumentParser(
description='A private command-line bookmark manager. Your mini web!',
formatter_class=argparse.RawTextHelpFormatter,
usage='''buku [-a URL [tags ...]] [-u [N]] [-d [N]] [-h]
[--url keyword] [--tag [...]] [-t [...]] [-c [...]]
[-s keyword [...]] [-S keyword [...]] [--st [...]]
[-k [N]] [-l [N]] [-p [N]] [-f N] [-r oldtag [newtag ...]]
[-j] [-e file] [-i file] [-m file] [--noprompt] [-o N]''',
usage='''buku [OPTIONS] [KEYWORD [KEYWORD ...]]''',
add_help=False
)
@ -1468,7 +1464,7 @@ if __name__ == '__main__':
special keyword -
"blank": list entries with empty title/tag
--st, --stag [...] search bookmarks by tag
list all tags alphabetically, if no arguments''')
list tags alphabetically, if no arguments''')
search_group.add_argument('-s', '--sany', nargs='+', metavar='keyword', help=argparse.SUPPRESS)
search_group.add_argument('-S', '--sall', nargs='+', metavar='keyword', help=argparse.SUPPRESS)
search_group.add_argument('--st', '--stag', nargs='*', dest='stag', action=CustomTagSearchAction, metavar='keyword', help=argparse.SUPPRESS)

11
buku.1
View File

@ -2,16 +2,7 @@
.SH NAME
buku \- A private command-line bookmark manager. Your mini web!
.SH SYNOPSIS
.B buku
[-a URL [tags ...]] [-u [N]] [-d [N]] [-h]
.br
[--url keyword] [--tag [...]] [-t [...]] [-c [...]]
.br
[-s keyword [...]] [-S keyword [...]] [--st [...]]
.br
[-k [N]] [-l [N]] [-p [N]] [-f N] [-r oldtag [newtag ...]]
.br
[-j] [-e file] [-i file] [-m file] [--noprompt] [-o N]
.B buku [OPTIONS] [KEYWORD [KEYWORD ...]]
.SH DESCRIPTION
.B buku
is a command-line tool to save, tag and search bookmarks.