Documented the minchars field of struct swit to the best of my understanding.
authorDan Harkless <dan@harkless.org>
Wed, 26 Jan 2000 05:03:07 +0000 (05:03 +0000)
committerDan Harkless <dan@harkless.org>
Wed, 26 Jan 2000 05:03:07 +0000 (05:03 +0000)
h/mh.h

diff --git a/h/mh.h b/h/mh.h
index c8ece5d..a59b0a0 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -39,6 +39,12 @@ struct node {
 
 struct swit {
     char *sw;
+
+    /* The minchars field is apparently used like this:
+
+       -# : Switch can be abbreviated to # characters; switch hidden in -help.
+       0  : Switch can't be abbreviated;               switch shown in -help.
+       #  : Switch can be abbreviated to # characters; switch shown in -help. */
     int minchars;
 };