Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 1/4] Update system_profiler completion
- X-seq: zsh-workers 52077
- From: Shohei YOSHIDA <syohex@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Shohei YOSHIDA <syohex@xxxxxxxxx>
- Subject: [PATCH 1/4] Update system_profiler completion
- Date: Wed, 23 Aug 2023 13:00:01 +0900
- Archived-at: <https://zsh.org/workers/52077>
- In-reply-to: <20230823040004.171642-1-syohex@gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <20230823040004.171642-1-syohex@gmail.com>
---
Completion/Darwin/Command/_system_profiler | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Completion/Darwin/Command/_system_profiler b/Completion/Darwin/Command/_system_profiler
index fe197579d..061b68eba 100644
--- a/Completion/Darwin/Command/_system_profiler
+++ b/Completion/Darwin/Command/_system_profiler
@@ -14,7 +14,8 @@ _data_types=( SP{AirPort,Applications,Audio,Bluetooth,Camera,CardReader,Componen
_arguments \
'(- *)-usage' \
'(- *)-listDataTypes[lists the available datatypes]' \
- '(-listDataTypes -usage)-xml[generate xml output]' \
+ '(-listDataTypes -usage -json)-xml[generate xml output]' \
+ '(-listDataTypes -usage -xml)-json[generate json output]' \
'(-listDataTypes -usage)-detailLevel[level of detail for the report]:detail level:(mini basic full)' \
'(-listDataTypes -usage)-timeout+[maximum time to wait in seconds]' \
'(-listDataTypes -usage)*:data type:'"($_data_types)"
--
2.42.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author