simplify whatnow.c/main() function
[mmh] / man / ali.man1
index b0d4712..b45fb92 100644 (file)
@@ -8,12 +8,12 @@ ali \- list mail aliases
 .HP 5
 .na
 .B ali
-.RB [ \-alias
-.IR aliasfile ]
+.RB [ \-file
+.IR aliasfile ]...
 .RB [ \-list " | " \-nolist ]
 .RB [ \-normalize " | " \-nonormalize ]
 .RB [ \-user " | " \-nouser ]
-.RB [ \-version ]
+.RB [ \-Version ]
 .RB [ \-help ]
 .RI [ aliases " ...]"
 .ad
@@ -26,6 +26,7 @@ It creates a list of addresses for those
 and writes that list on standard output.  If no arguments are given,
 .B ali
 outputs all alias entries.
+This can be used to check the format of the alias file for validity.
 .PP
 By default, when an aliases expands to multiple addresses, the addresses
 are separated by commas and printed on as few lines as possible.  If the
@@ -49,12 +50,20 @@ switch is given,
 will
 try to track down the official hostname of the address.
 .PP
-The files specified by the profile entry
-.RI \*(lq Aliasfile \*(rq
-and any additional alias files given by the
-.B \-alias
+If no
+.B \-file
 .I aliasfile
-switch will be read.  Each
+is given, then the default alias files, as specified by the profile entry
+.RI ` Aliasfile ',
+will be read.
+If any alias files are given by
+.B \-file
+.I aliasfile
+switches, these will be read instead of the default alias files.
+Either the default alias files are read or the ones given at the
+command line, never both.
+.PP
+Each
 .I alias
 is processed as described in
 .BR mh\-alias (5).
@@ -74,7 +83,7 @@ is processed as described in
 .ta 2.4i
 .ta \w'ExtraBigProfileName  'u
 ^Path:~^To determine the user's mail storage
-^Aliasfile:~^For a default alias file
+^Aliasfile:~^For default alias files
 .fi
 
 .SH "SEE ALSO"