mirror of
https://github.com/matrix-construct/construct
synced 2024-12-02 03:32:52 +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 "signals.h"
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
|
|
||||||
static bool startup_checks();
|
|
||||||
static void applyargs();
|
|
||||||
static void enable_coredumps();
|
|
||||||
static int print_version();
|
|
||||||
|
|
||||||
bool printversion;
|
bool printversion;
|
||||||
bool cmdline;
|
bool cmdline;
|
||||||
bool quietmode;
|
bool quietmode;
|
||||||
|
@ -75,12 +70,21 @@ const char *const fatalerrstr
|
||||||
const char *const usererrstr
|
const char *const usererrstr
|
||||||
{R"(
|
{R"(
|
||||||
***
|
***
|
||||||
*** A fatal startup error has occurred. Please fix the problem to continue. ***
|
*** A fatal startup error has occurred:
|
||||||
***
|
***
|
||||||
|
|
||||||
%s
|
%s
|
||||||
|
|
||||||
|
***
|
||||||
|
*** Please fix the problem to continue.
|
||||||
|
***
|
||||||
)"};
|
)"};
|
||||||
|
|
||||||
|
static bool startup_checks();
|
||||||
|
static void applyargs();
|
||||||
|
static void enable_coredumps();
|
||||||
|
static int print_version();
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int _argc, char *const *_argv, char *const *const _envp)
|
main(int _argc, char *const *_argv, char *const *const _envp)
|
||||||
noexcept try
|
noexcept try
|
||||||
|
|
Loading…
Reference in a new issue