diff options
-rw-r--r-- | aerc.go | 2 | ||||
-rw-r--r-- | config/config.go | 2 | ||||
-rw-r--r-- | doc/aerc.1.scd | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -107,7 +107,7 @@ func buildInfo() string { func usage(msg string) { fmt.Fprintln(os.Stderr, msg) - fmt.Fprintln(os.Stderr, "usage: aerc [-v] [-a <account-name>] [mailto:...]") + fmt.Fprintln(os.Stderr, "usage: aerc [-v] [-a <account-name[,account-name>] [mailto:...]") os.Exit(1) } diff --git a/config/config.go b/config/config.go index 4d4bfe81..9f2af8f8 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 8ceed4dd..88827955 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 <account-name[,account-name]>] [mailto:...] +_aerc_ [-v] [-a <account-name[,account-name]>] [mailto:...] For a guided tutorial, use *:help tutorial* from aerc, or *man aerc-tutorial* from your terminal. |