Skip to content

Commit

Permalink
Update typos, make global strings static
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Aug 8, 2024
1 parent c05550c commit d788495
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions source/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
module config;

/// Aliceserver version
enum PROJECT_VERSION = "0.0.0";
immutable string PROJECT_VERSION = "0.0.0";
/// Aliceserver license
enum PROJECT_LICENSE = "BSD-3-Clause-Clear";
immutable string PROJECT_LICENSE = "BSD-3-Clause-Clear";
/// Aliceserver copyrights
enum PROJECT_COPYRIGHT = "Copyright (c) 2024 github.com/dd86k <[email protected]>";
immutable string PROJECT_COPYRIGHT = "Copyright (c) 2024 github.com/dd86k <[email protected]>";
4 changes: 2 additions & 2 deletions source/main.d
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ void main(string[] args)
},
"list-adapters", `List available adapters`, &cliListAdapters,
"log", `Logger: Enable logging to stderr`, &olog,
"logpath", `Logger: Enable logging to file`, &ologfile,
"loglevel", `Logger: Set path`, &ologlevel,
"logpath", `Logger: Enable logging to file path`, &ologfile,
"loglevel", `Logger: Set log level (default=info)`, &ologlevel,
"ver", `Show only version and quit`, {
writeln(PROJECT_VERSION);
exit(0);
Expand Down

0 comments on commit d788495

Please sign in to comment.