Use -g as short debug option
This commit is contained in:
parent
054d320411
commit
a1175a2284
@ -247,7 +247,7 @@ POWER TOYS:
|
||||
--threads N max network connections in full refresh
|
||||
default N=4, min N=1, max N=10
|
||||
-V check latest upstream version available
|
||||
-z, --debug show debug information and verbose logs
|
||||
-g, --debug show debug information and verbose logs
|
||||
|
||||
SYMBOLS:
|
||||
> url
|
||||
|
@ -50,7 +50,7 @@ _buku () {
|
||||
-v --version
|
||||
-w --write
|
||||
-x --exclude
|
||||
-z --debug
|
||||
-g --debug
|
||||
)
|
||||
opts_with_arg=(
|
||||
-a --add
|
||||
|
@ -43,4 +43,4 @@ complete -c buku -s V --description 'check latest upstream release
|
||||
complete -c buku -s v -l version --description 'show program version'
|
||||
complete -c buku -s w -l write --description 'open editor'
|
||||
complete -c buku -s x -l exclude -r --description 'exclude keywords'
|
||||
complete -c buku -s z -l debug --description 'enable debugging mode'
|
||||
complete -c buku -s g -l debug --description 'enable debugging mode'
|
||||
|
@ -48,6 +48,6 @@ args=(
|
||||
'(-v --version)'{-v,--version}'[show program version]'
|
||||
'(-w --write)'{-w,--write}'[open editor]'
|
||||
'(-x --exclude)'{-x,--exclude}'[exclude keywords]:keyword(s)'
|
||||
'(-z --debug)'{-z,--debug}'[enable debugging mode]'
|
||||
'(-g --debug)'{-g,--debug}'[enable debugging mode]'
|
||||
)
|
||||
_arguments -S -s $args
|
||||
|
4
buku
4
buku
@ -4980,7 +4980,7 @@ POSITIONAL ARGUMENTS:
|
||||
--threads N max network connections in full refresh
|
||||
default N=4, min N=1, max N=10
|
||||
-V check latest upstream version available
|
||||
-z, --debug show debug information and verbose logs''')
|
||||
-g, --debug show debug information and verbose logs''')
|
||||
addarg = power_grp.add_argument
|
||||
addarg('--ai', action='store_true', help=hide)
|
||||
addarg('-e', '--export', nargs=1, help=hide)
|
||||
@ -5002,7 +5002,7 @@ POSITIONAL ARGUMENTS:
|
||||
addarg('--tacit', action='store_true', help=hide)
|
||||
addarg('--threads', type=int, default=4, choices=range(1, 11), help=hide)
|
||||
addarg('-V', dest='upstream', action='store_true', help=hide)
|
||||
addarg('-z', '--debug', action='store_true', help=hide)
|
||||
addarg('-g', '--debug', action='store_true', help=hide)
|
||||
# Undocumented APIs
|
||||
# Fix uppercase tags allowed in releases before v2.7
|
||||
addarg('--fixtags', action='store_true', help=hide)
|
||||
|
2
buku.1
2
buku.1
@ -302,7 +302,7 @@ can range from 1 to 10.
|
||||
.BI \-V
|
||||
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 \-z " " \--debug
|
||||
.BI \-g " " \--debug
|
||||
Show debug information and additional logs.
|
||||
.SH PROMPT KEYS
|
||||
.TP
|
||||
|
Loading…
x
Reference in New Issue
Block a user