about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Command/_ranlib13
1 files changed, 13 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_ranlib b/Completion/Unix/Command/_ranlib
new file mode 100644
index 000000000..a506ea70a
--- /dev/null
+++ b/Completion/Unix/Command/_ranlib
@@ -0,0 +1,13 @@
+#compdef ranlib
+
+_arguments \
+    "(-a)-s[preferred type ToC (default)]" \
+    "(-s)-a[original type ToC]" \
+    "-c[include common symbols]" \
+    "(-T)-L[4.4bsd archive extended format #1 (default)]" \
+    "(-L)-T[truncate names to 16 chars, per pre-4.4.bsd format]" \
+    "-f[warn about fat archives]" \
+    "-t[do not rebuild ToC (ignored)]" \
+    "(-)-[no more options]" \
+    "1:archive: _files"
+