diff options
author | luigi1111 <luigi1111w@gmail.com> | 2023-06-27 11:39:33 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2023-06-27 11:39:33 -0500 |
commit | 1153246b8afcb33bd06de79a522fbac41e2ac903 (patch) | |
tree | 4fd2bbd5b7f16444d4837d6a18bd5b9a4b19882f /src/daemon | |
parent | Merge pull request #8844 (diff) | |
parent | daemon: remove os-version (diff) | |
download | monero-1153246b8afcb33bd06de79a522fbac41e2ac903.tar.xz |
Merge pull request #8848
6b8dfb8 daemon: remove os-version (tobtoht)
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 aa8e231a2..e2ff27daa 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 @@ -204,13 +203,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; |