Update error strings (start with lowercase letters)

This commit is contained in:
Zac Bergquist
2015-06-07 20:49:17 -04:00
parent 20b6e971c0
commit 41e1f1ffa5
12 changed files with 32 additions and 32 deletions

View File

@ -11,10 +11,10 @@ import (
func SplitCommandAndArgs(command string) (cmd string, args []string, err error) {
parts, err := shlex.Split(command)
if err != nil {
err = errors.New("Error parsing command: " + err.Error())
err = errors.New("error parsing command: " + err.Error())
return
} else if len(parts) == 0 {
err = errors.New("No command contained in '" + command + "'")
err = errors.New("no command contained in '" + command + "'")
return
}