Documented the minchars field of struct swit to the best of my understanding.
[mmh] / 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;
 };