File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,8 @@ pub struct ConfigCliOptions {
222
222
#[ arg( long, value_hint = ValueHint :: FilePath ) ]
223
223
pub config_path : Option < PathBuf > ,
224
224
/// Creates a default config file
225
- /// Writes to $XDG_CONFIG_HOME/onefetch/config.toml but can be overridden with --config-path
225
+ /// By default, creates onefetch/config.toml at your config direrctory
226
+ /// but it can be overridden with --config-path
226
227
#[ arg( long) ]
227
228
pub generate_config : bool ,
228
229
}
@@ -323,7 +324,7 @@ impl Default for ConfigCliOptions {
323
324
// Not sure about unwrap
324
325
config_path : Some (
325
326
dirs:: config_dir ( )
326
- . expect ( "Could not find $HOME !" )
327
+ . expect ( "Config directory is not found !" )
327
328
. join ( "onefetch/config.toml" ) ,
328
329
) ,
329
330
generate_config : false ,
You can’t perform that action at this time.
0 commit comments