Skip to content

Commit 4441da3

Browse files
authored
Merge pull request #185 from sharkdp/fix-theme-arg-err
Reword NoThemeProvided error
2 parents 9ab2e78 + 11ed579 commit 4441da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl Display for VividError {
3939
VividError::CouldNotLoadTheme(path) => write!(fmt, "Could not load theme '{}'.", path),
4040
VividError::NoThemeProvided => write!(
4141
fmt,
42-
"No theme specified. Try `vivid generate molokai` for an example"
42+
"Argument not optional: [theme]. Try `vivid themes` for a list"
4343
),
4444
VividError::EmptyThemeFile => write!(fmt, "Theme file is empty"),
4545
VividError::CouldNotFindStyleFor(category) => {

0 commit comments

Comments
 (0)