0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 04:51:08 +01:00

construct: Minor cleanup.

This commit is contained in:
Jason Volk 2019-04-23 01:51:21 -07:00
parent ccb2d86cdc
commit 7ea6a3b39a

View file

@ -37,7 +37,7 @@ bool norun;
bool read_only;
bool write_avoid;
const char *execute;
lgetopt opts[] =
lgetopt opts[]
{
{ "help", nullptr, lgetopt::USAGE, "Print this text" },
{ "version", &printversion, lgetopt::BOOL, "Print version and exit" },
@ -78,8 +78,9 @@ const char *const usererrstr
%s
)"};
int main(int _argc, char *const *_argv, char *const *const _envp)
try
int
main(int _argc, char *const *_argv, char *const *const _envp)
noexcept try
{
umask(077); // better safe than sorry --SRB