diff options
author | tobtoht <tob@featherwallet.org> | 2023-05-10 22:39:03 +0200 |
---|---|---|
committer | tobtoht <tob@featherwallet.org> | 2023-05-10 23:15:03 +0200 |
commit | 6b8dfb8fb9b163b4ad8191e394d909376c9a210c (patch) | |
tree | 4898c9b9afe3cd532f80b1807330631e8b839e54 /src/daemon | |
parent | Merge pull request #8760 (diff) | |
download | monero-6b8dfb8fb9b163b4ad8191e394d909376c9a210c.tar.xz |
daemon: remove os-version
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/command_line_args.h | 4 | ||||
-rw-r--r-- | src/daemon/main.cpp | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index 506d75490..44505eb8f 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -86,10 +86,6 @@ namespace daemon_args "daemon_command" , "Hidden" }; - const command_line::arg_descriptor<bool> arg_os_version = { - "os-version" - , "OS for which this executable was compiled" - }; const command_line::arg_descriptor<unsigned> arg_max_concurrency = { "max-concurrency" , "Max number of threads to use for a parallel job" diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index 23c313c9d..df8150157 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -143,7 +143,6 @@ int main(int argc, char const * argv[]) command_line::add_arg(visible_options, command_line::arg_help); command_line::add_arg(visible_options, command_line::arg_version); - command_line::add_arg(visible_options, daemon_args::arg_os_version); command_line::add_arg(visible_options, daemon_args::arg_config_file); // Settings @@ -203,13 +202,6 @@ int main(int argc, char const * argv[]) return 0; } - // OS - if (command_line::get_arg(vm, daemon_args::arg_os_version)) - { - std::cout << "OS: " << tools::get_os_version_string() << ENDL; - return 0; - } - std::string config = command_line::get_arg(vm, daemon_args::arg_config_file); boost::filesystem::path config_path(config); boost::system::error_code ec; |