1
0
mirror of https://github.com/directorz/mailfull-go.git synced 2025-12-18 10:07:03 +00:00

Change synopsis and help message

This commit is contained in:
teru
2016-08-11 13:24:01 +09:00
parent bb0e30ac18
commit 42d4e6389a
3 changed files with 11 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ type CommitCommand struct {
// Synopsis returns a one-line synopsis.
func (c *CommitCommand) Synopsis() string {
return "Create a database from the structure of the MailData directory."
return "Create databases from the structure of the MailData directory."
}
// Help returns long-form help text.
@@ -23,9 +23,10 @@ Usage:
%s %s
Description:
Create a database from the structure of the MailData directory.
%s
`,
c.CmdName, c.SubCmdName)
c.CmdName, c.SubCmdName,
c.Synopsis())
return txt[1:]
}