diff --git a/aerc.go b/aerc.go index 4c9debf..203a232 100644 --- a/aerc.go +++ b/aerc.go @@ -107,7 +107,7 @@ func buildInfo() string { func usage(msg string) { fmt.Fprintln(os.Stderr, msg) - fmt.Fprintln(os.Stderr, "usage: aerc [-v] [-a ] [mailto:...]") + fmt.Fprintln(os.Stderr, "usage: aerc [-v] [-a ] [mailto:...]") os.Exit(1) } diff --git a/config/config.go b/config/config.go index 4d4bfe8..9f2af8f 100644 --- a/config/config.go +++ b/config/config.go @@ -365,7 +365,7 @@ func loadAccountConfig(path string, accts []string) ([]AccountConfig, error) { return nil, errors.New("account(s) not found") } sort.Slice(accounts, func(i, j int) bool { - return accts[i] < accts[j] + return strings.ToLower(accts[i]) < strings.ToLower(accts[j]) }) } return accounts, nil diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 8ceed4d..8882795 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -6,7 +6,7 @@ aerc - the world's best email client # SYNOPSIS -_aerc_ [-v] [-a ] [mailto:...] +_aerc_ [-v] [-a ] [mailto:...] For a guided tutorial, use *:help tutorial* from aerc, or *man aerc-tutorial* from your terminal.