1
0
Fork 0

Print newline after 'config /?'

Also, remove unnecesary line breaks and improve formatting a little.
This commit is contained in:
Patryk Obara 2020-02-14 12:57:27 +01:00 committed by Patryk Obara
parent 19b2469e49
commit 270c9351e2

View file

@ -780,7 +780,7 @@ void CONFIG::Run(void) {
}
first = false;
}
return;
}
@ -806,23 +806,23 @@ void PROGRAMS_Init(Section* /*sec*/) {
MSG_Add("PROGRAM_CONFIG_FILE_WHICH","Writing config file %s");
// help
MSG_Add("PROGRAM_CONFIG_USAGE","Config tool:\n"\
"-writeconf or -wc without parameter: write to primary loaded config file.\n"\
"-writeconf or -wc with filename: write file to config directory.\n"\
"Use -writelang or -wl filename to write the current language strings.\n"\
"-r [parameters]\n Restart DOSBox, either using the previous parameters or any that are appended.\n"\
"-wcp [filename]\n Write config file to the program directory, dosbox.conf or the specified \n filename.\n"\
"-wcd\n Write to the default config file in the config directory.\n"\
"-l lists configuration parameters.\n"\
"-h, -help, -? sections / sectionname / propertyname\n"\
" Without parameters, displays this help screen. Add \"sections\" for a list of\n sections."\
" For info about a specific section or property add its name behind.\n"\
"-axclear clears the autoexec section.\n"\
"-axadd [line] adds a line to the autoexec section.\n"\
"-axtype prints the content of the autoexec section.\n"\
"-securemode switches to secure mode.\n"\
"-get \"section property\" returns the value of the property.\n"\
"-set \"section property=value\" sets the value." );
MSG_Add("PROGRAM_CONFIG_USAGE", "Config tool:\n"
"-writeconf or -wc without parameter: write to primary loaded config file.\n"
"-writeconf or -wc with filename: write file to config directory.\n"
"Use -writelang or -wl filename to write the current language strings.\n"
"-r [parameters]\n Restart DOSBox, either using the previous parameters or any that are appended.\n"
"-wcp [filename]\n Write config file to the program directory, dosbox.conf or the specified \n filename.\n"
"-wcd\n Write to the default config file in the config directory.\n"
"-l lists configuration parameters.\n"
"-h, -help, -? sections / sectionname / propertyname\n"
" Without parameters, displays this help screen. Add \"sections\" for a list of\n sections."
" For info about a specific section or property add its name behind.\n"
"-axclear clears the autoexec section.\n"
"-axadd [line] adds a line to the autoexec section.\n"
"-axtype prints the content of the autoexec section.\n"
"-securemode switches to secure mode.\n"
"-get \"section property\" returns the value of the property.\n"
"-set \"section property=value\" sets the value.\n");
MSG_Add("PROGRAM_CONFIG_HLP_PROPHLP","Purpose of property \"%s\" (contained in section \"%s\"):\n%s\n\nPossible Values: %s\nDefault value: %s\nCurrent value: %s\n");
MSG_Add("PROGRAM_CONFIG_HLP_LINEHLP","Purpose of section \"%s\":\n%s\nCurrent value:\n%s\n");
MSG_Add("PROGRAM_CONFIG_HLP_NOCHANGE","This property cannot be changed at runtime.\n");