summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xCompletion/User/_slrn16
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 531b64436..4f6530b8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-08-01 Sven Wischnowsky <wischnow@zsh.org>
+ * Jan Fedak: 12463: Completion/User/_slrn: new completion function
+ for slrn
+
* 12462: Completion/Base/_arguments: fix for automatically
recognised options, don't expect an argument after each of them
diff --git a/Completion/User/_slrn b/Completion/User/_slrn
new file mode 100755
index 000000000..a063e227c
--- /dev/null
+++ b/Completion/User/_slrn
@@ -0,0 +1,16 @@
+#compdef slrn
+
+_arguments \
+ '-n[do not check for new groups]' \
+ '-h[NNTP host]:NNTP host:_hosts' \
+ '-p[NNTP port]:NNTP port:_ports' \
+ '-f[name of the newsrc file to use]:the newsrc file to use:_files' \
+ '-C[use colors]' \
+ '-create[create a newsrc file by getting list of groups from server]' \
+ '-d[get new text descriptions of each group from server]' \
+ '-i[name of initialization file to use]:initialization file to use:_files' \
+ '-D-[add predefined preprocessing token]' \
+ '-k[do not process score file]' \
+ '-k0[process score file but inhibit expensive scores]' \
+ '-a[use active file for getting new news]' \
+ '-m[force XTerm mouse reporting]'