if (file_string)
vfprintf_fail (formats[FMT_GENERIC], "hyphen cannot be used as color string");
else
- vfprintf_fail (formats[FMT_GENERIC], "hyphen must be preceeded by color string");
+ vfprintf_fail (formats[FMT_GENERIC], "hyphen must be preceded by color string");
}
ret = lstat (color_string, &sb);
else
{
if (VALID_FILE_TYPE (mode))
- vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "must be preceeded by color string");
+ vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "must be preceded by color string");
else
vfprintf_fail (formats[FMT_QUOTE], get_file_type (mode), file_exists, "is not a valid file type");
}
[ '--clean file1 file2', 'more than one file' ],
[ '--clean-all file1 file2', 'more than one file' ],
[ '- file', 'hyphen cannot be used as color string' ],
- [ '-', 'hyphen must be preceeded by color string' ],
+ [ '-', 'hyphen must be preceded by color string' ],
[ "$file file", 'cannot be used as color string' ],
- [ "$file", 'must be preceeded by color string' ],
+ [ "$file", 'must be preceded by color string' ],
[ "$dir", 'is not a valid file type' ],
[ '/black', 'foreground color missing' ],
[ 'white/', 'background color missing' ],