diff --git a/doc/enchant.1 b/doc/enchant.1 index 597b80a..244d6ad 100644 --- a/doc/enchant.1 +++ b/doc/enchant.1 @@ -5,7 +5,7 @@ Enchant \- a spellchecker .SH SYNOPSIS .ll +8 .B enchant -[\fB\-a\fR] [\fB\-l\fR] [\fB\-L\fR] [\fB\-v\fR] +[\fB\-a\fR] [\fB\-d dict\fR] [\fB\-h\fR] [\fB\-l\fR] [\fB\-L\fR] [\fB\-v\fR] .ll -8 .br .SH DESCRIPTION @@ -14,7 +14,13 @@ is an ispell-compatible spellchecker. .SS OPTIONS .TP .B "\-a" -List alternatives. +List suggestions in ispell pipe mode format. +.TP +.B "\-d dict" +Use dictionary . +.TP +.B "\-h" +Show short help. .TP .B "\-l" List only the misspellings. diff --git a/tests/enchant-ispell.c b/tests/enchant-ispell.c index 639d74b..a65c1bc 100644 --- a/tests/enchant-ispell.c +++ b/tests/enchant-ispell.c @@ -71,8 +71,9 @@ static void print_help (FILE * to, const char * prog) { fprintf (to, "Usage: %s [options] -a|-d dict|-l|-L|-m|-v[v]|\n", prog); - fprintf (to, "\t-a lists alternatives.\n"); + fprintf (to, "\t-a lists suggestions in ispell pipe mode format.\n"); fprintf (to, "\t-d dict uses dictionary .\n"); + fprintf (to, "\t-h Show this help message.\n"); fprintf (to, "\t-l lists misspellings.\n"); fprintf (to, "\t-m is ignored.\n"); fprintf (to, "\t-L displays line numbers.\n");