Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 1/4] Update system_profiler completion



---
 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