Skip to content

Commit 1b62de1

Browse files
committed
adjust config dir error message
1 parent d6bcc89 commit 1b62de1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/args.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ pub fn process_cmdline() -> Result<CliArgs> {
5050

5151
let confpath = get_app_config_path()?;
5252
fs::create_dir_all(&confpath).with_context(|| {
53-
format!("failed to write config to {}", confpath.display())
53+
format!(
54+
"failed to create config directory: {}",
55+
confpath.display()
56+
)
5457
})?;
5558
let theme = confpath.join(arg_theme);
5659

0 commit comments

Comments
 (0)