mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Make quote marks consistent in error/warning messages (#1791)
- "Double quotes" for strings (filenames, section names, CLI option arguments, etc) - 'Single quotes' for characters and CLI option flags - `Backticks` for keywords and identifiers (symbol names, charmap names, etc) CLI option flags also have their leading dashes
This commit is contained in:
@@ -89,11 +89,11 @@ void Usage::printAndExit(int code) const {
|
||||
|
||||
// Print the link for further help information
|
||||
style_Reset(file);
|
||||
fputs("\nFor more help, use `", file);
|
||||
fputs("\nFor more help, use \"", file);
|
||||
style_Set(file, STYLE_CYAN, true);
|
||||
fprintf(file, "man %s", name.c_str());
|
||||
style_Reset(file);
|
||||
fputs("' or go to ", file);
|
||||
fputs("\" or go to ", file);
|
||||
style_Set(file, STYLE_BLUE, true);
|
||||
fputs("https://rgbds.gbdev.io/docs/", file);
|
||||
style_Reset(file);
|
||||
|
||||
Reference in New Issue
Block a user