Permalink
Browse files

for groonga

  • Loading branch information...
hhatto committed Jan 30, 2012
1 parent e5d8692 commit b5e65fe8fcf7f2c923295a7e5982e096d089db8f
Showing with 20 additions and 0 deletions.
  1. +20 −0 _groonga-query-log-analyzer
@@ -0,0 +1,20 @@
+#compdef groonga-query-log-analyzer
+
+_arguments -S \
+ "(--n-entries --no-stream --stream)-n[Show top N entries (10)]:entries:" \
+ "(-n --no-stream --stream)--n-entries[Show top N entries (10)]:entires:" \
+ "(--no-stream --stream)--order=[Sort by ORDER. available values\: \[elapsed, -elapsed, start-time, -start-time\] (console)]:reporter:(elapsed, -elapsed, start-time, -start-time)" \
+ "(--color=)--no-color=[Disable color outupt (auto)]:color:(auto)" \
+ "(--no-color=)--color=[Enable color outupt (auto)]:color:(auto)" \
+ "--output=[Outupt to PATH. \'-\' PATH means standard output. (-)]:path:_gnu_generic" \
+ "--slow-operation-threshold=[Use THRESHOLD seconds to detect slow operations. (0.1)]" \
+ "--slow-response-threshold=[Use THRESHOLD seconds to detect slow operations. ()]" \
+ "--reporter=[Reports staticstics by REPORTER. available values\: \[console, json, html\] (console)]:reporter:(console json html)" \
+ "(--no-dynamic-sort= )--dynamic-sort=[Sorts dynamically. Memory and CPU usage reduced for large query log.]" \
+ "(--dynamic-sort= )--no-dynamic-sort=[NOT Sorts dynamically. Memory and CPU usage reduced for large query log.]" \
+ "(--stream --n-entries --order)--no-stream[Outputs analyzed query on the fly.]" \
+ "(--no-stream --n-entries --order)--stream[Outputs analyzed query on the fly. (false)]" \
+ "(--no-report-summary)--report-summary[Reports summary at the end. (true)]" \
+ "(--report-summary)--no-report-summary[Reports summary at the end.]" \
+ {--help,-h}"[show usage]:" \
+ "*::args:_files"

0 comments on commit b5e65fe

Please sign in to comment.