diff --git a/src/runtime_options.c b/src/runtime_options.c index 1d213b0..84bb16b 100644 --- a/src/runtime_options.c +++ b/src/runtime_options.c @@ -291,9 +291,9 @@ int parse_args( int argc, char* argv[] ) " -v --version show version\n" " --print-config print configuration as config file\n" " -c --config= use as x48ng's config file (default: " - "~/.config/x48ng/config.lua)\n" + "$XDG_CONFIG_HOME/x48ng/config.lua)\n" " --config-dir= use as x48ng's home (default: " - "~/.config/x48ng/)\n" + "$XDG_CONFIG_HOME/x48ng/)\n" " --rom= use (absolute or relative to " ") as ROM (default: rom)\n" " --ram= use (absolute or relative to " @@ -437,7 +437,7 @@ int parse_args( int argc, char* argv[] ) } lua_getglobal( config_lua_values, "config_dir" ); - configDir = ( char* )luaL_optstring( config_lua_values, -1, ".config/x48ng" ); + configDir = ( char* )luaL_optstring( config_lua_values, -1, "x48ng" ); lua_getglobal( config_lua_values, "rom" ); romFileName = ( char* )luaL_optstring( config_lua_values, -1, "rom" );