Move -v to general section.
This commit is contained in:
parent
b33ef3a81c
commit
bafdfc20e8
@ -147,6 +147,7 @@ GENERAL OPTIONS:
|
||||
delete all bookmarks, if no arguments
|
||||
delete search results, when used with
|
||||
search, if no arguments
|
||||
-v, --version show program version and exit
|
||||
-h, --help show this information and exit
|
||||
|
||||
EDIT OPTIONS:
|
||||
@ -213,7 +214,6 @@ POWER TOYS:
|
||||
--threads N max network connections in full refresh
|
||||
default 4, min 1, max 10
|
||||
--upstream check latest upstream version available
|
||||
-v, --version show program version and exit
|
||||
-z, --debug show debug information and verbose logs
|
||||
|
||||
SYMBOLS:
|
||||
|
6
buku.1
6
buku.1
@ -85,6 +85,9 @@ Update fields of the bookmarks at specified indices in DB. If no arguments are s
|
||||
.BI \-d " " \--delete " [...]"
|
||||
Delete bookmarks. Accepts space-separated list of indices (e.g. 5 6 23 4 110 45) or a single hyphenated range (e.g. 100-200). Note that range and list don't work together. Deletes search results when combined with search options, if no arguments.
|
||||
.TP
|
||||
.BI \-v " " \--version
|
||||
Show program version and exit.
|
||||
.TP
|
||||
.BI \-h " " \--help
|
||||
Show program help and exit.
|
||||
.SH EDIT OPTIONS
|
||||
@ -215,9 +218,6 @@ can range from 1 to 10.
|
||||
.BI \--upstream
|
||||
Check the latest upstream version available. This is FYI. It is possible the latest upstream released version is still not available in your package manager as the process takes a while.
|
||||
.TP
|
||||
.BI \-v " " \--version
|
||||
Show program version and exit.
|
||||
.TP
|
||||
.BI \-z " " \--debug
|
||||
Show debug information and additional logs.
|
||||
.SH PROMPT KEYS
|
||||
|
4
buku.py
4
buku.py
@ -2233,11 +2233,13 @@ def main():
|
||||
delete all bookmarks, if no arguments
|
||||
delete search results, when used with
|
||||
search, if no arguments
|
||||
-v, --version show program version and exit
|
||||
-h, --help show this information and exit''')
|
||||
addarg = general_grp.add_argument
|
||||
addarg('-a', '--add', nargs='+', help=HIDE)
|
||||
addarg('-u', '--update', nargs='*', help=HIDE)
|
||||
addarg('-d', '--delete', nargs='*', help=HIDE)
|
||||
addarg('-v', '--version', action='version', version=__version__, help=HIDE)
|
||||
addarg('-h', '--help', action='store_true', help=HIDE)
|
||||
|
||||
# ------------------
|
||||
@ -2339,7 +2341,6 @@ def main():
|
||||
--threads N max network connections in full refresh
|
||||
default 4, min 1, max 10
|
||||
--upstream check latest upstream version available
|
||||
-v, --version show program version and exit
|
||||
-z, --debug show debug information and verbose logs''')
|
||||
addarg = power_grp.add_argument
|
||||
addarg('-e', '--export', nargs=1, help=HIDE)
|
||||
@ -2358,7 +2359,6 @@ def main():
|
||||
addarg('--tacit', action='store_true', help=HIDE)
|
||||
addarg('--threads', type=int, default=4, choices=range(1, 11), help=HIDE)
|
||||
addarg('--upstream', action='store_true', help=HIDE)
|
||||
addarg('-v', '--version', action='version', version=__version__, help=HIDE)
|
||||
addarg('-z', '--debug', action='store_true', help=HIDE)
|
||||
# Undocumented API
|
||||
addarg('--fixtags', action='store_true', help=HIDE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user