Commit 7d6020bc 7d6020bcf8a63eb1430f32bec4002f4a03b692c1 by Sergey Poznyakoff

(mail_help): Use mail_command_help()

1 parent e884780e
1 /* GNU Mailutils -- a suite of utilities for electronic mail 1 /* GNU Mailutils -- a suite of utilities for electronic mail
2 Copyright (C) 1999, 2001 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2001, 2005 Free Software Foundation, Inc.
3 3
4 GNU Mailutils is free software; you can redistribute it and/or modify 4 GNU Mailutils is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
...@@ -27,13 +27,13 @@ int ...@@ -27,13 +27,13 @@ int
27 mail_help (int argc, char **argv) 27 mail_help (int argc, char **argv)
28 { 28 {
29 if (argc < 2) 29 if (argc < 2)
30 return util_help (mail_command_table, NULL); 30 return mail_command_help (NULL);
31 else 31 else
32 { 32 {
33 int status = 0; 33 int status = 0;
34 34
35 while (--argc) 35 while (--argc)
36 status |= util_help (mail_command_table, *++argv); 36 status |= mail_command_help (*++argv);
37 37
38 return status; 38 return status;
39 } 39 }
......