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 {
222222 #[ arg( long, value_hint = ValueHint :: FilePath ) ]
223223 pub config_path : Option < PathBuf > ,
224224 /// 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
226227 #[ arg( long) ]
227228 pub generate_config : bool ,
228229}
@@ -323,7 +324,7 @@ impl Default for ConfigCliOptions {
323324 // Not sure about unwrap
324325 config_path : Some (
325326 dirs:: config_dir ( )
326- . expect ( "Could not find $HOME !" )
327+ . expect ( "Config directory is not found !" )
327328 . join ( "onefetch/config.toml" ) ,
328329 ) ,
329330 generate_config : false ,
You can’t perform that action at this time.
0 commit comments