mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
construct: Tweak usererrstr formatting; minor cleanup.
This commit is contained in:
parent
d90d06307d
commit
1ae664f6a0
1 changed files with 10 additions and 6 deletions
|
@ -16,11 +16,6 @@
|
|||
#include "signals.h"
|
||||
#include "console.h"
|
||||
|
||||
static bool startup_checks();
|
||||
static void applyargs();
|
||||
static void enable_coredumps();
|
||||
static int print_version();
|
||||
|
||||
bool printversion;
|
||||
bool cmdline;
|
||||
bool quietmode;
|
||||
|
@ -75,12 +70,21 @@ const char *const fatalerrstr
|
|||
const char *const usererrstr
|
||||
{R"(
|
||||
***
|
||||
*** A fatal startup error has occurred. Please fix the problem to continue. ***
|
||||
*** A fatal startup error has occurred:
|
||||
***
|
||||
|
||||
%s
|
||||
|
||||
***
|
||||
*** Please fix the problem to continue.
|
||||
***
|
||||
)"};
|
||||
|
||||
static bool startup_checks();
|
||||
static void applyargs();
|
||||
static void enable_coredumps();
|
||||
static int print_version();
|
||||
|
||||
int
|
||||
main(int _argc, char *const *_argv, char *const *const _envp)
|
||||
noexcept try
|
||||
|
|
Loading…
Reference in a new issue