summary refs log tree commit diff
path: root/Completion/Unix/Command/_adb
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-07-10 23:35:33 +0200
committerOliver Kiddle <opk@zsh.org>2021-07-10 23:44:58 +0200
commit35f9585cd1342a1d962a47be858c7aea60c8f886 (patch)
treeeb00a0180463c09316b83bdd48714f70a66a4023 /Completion/Unix/Command/_adb
parentefec6bbdb55199430dec0a003e5dc8d293de4cff (diff)
downloadzsh-35f9585cd1342a1d962a47be858c7aea60c8f886.tar.gz
zsh-35f9585cd1342a1d962a47be858c7aea60c8f886.tar.xz
zsh-35f9585cd1342a1d962a47be858c7aea60c8f886.zip
49156: make wider use of the convention of square brackets for defaults
Diffstat (limited to 'Completion/Unix/Command/_adb')
-rw-r--r--Completion/Unix/Command/_adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_adb b/Completion/Unix/Command/_adb
index 21cd68761..1375813bb 100644
--- a/Completion/Unix/Command/_adb
+++ b/Completion/Unix/Command/_adb
@@ -446,8 +446,8 @@ _adb_dispatch_logcat() {
    _arguments \
      '(-c -g)-s[set default filter to silent]' \
      '(-c -g)-f[log output to file (defaults to stdout)]:logfile:_files' \
-     '(-c -g -d)-r[rotate log every kbytes (default 16, requires -f)]:logsize:_guard "[0-9]#" "numeric value"' \
-     '(-c -g -d)-n[max number of rotated logs (default 4)]:number :_guard "[0-9]#" "numeric value"' \
+     '(-c -g -d)-r[rotate log at specified size, requires -f]:log size (kbytes) [16]' \
+     '(-c -g -d)-n[specify max number of rotated logs]:number [4]' \
      '(-c -g -d)-v[log format]:format: _values "format" brief process tag thread raw time threadtime long' \
      '(-d -t -g)-c[clear log]' \
      '(-c -g)-d[dump log]' \