diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/cli.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 9568fb76f..5955dfe19 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -215,9 +215,9 @@ class Command m_output_stream.reset(new std::ofstream(get_arg("output"), std::ios::binary)); } - if(m_user_args.count("error_output")) + if(m_user_args.count("error-output")) { - m_error_output_stream.reset(new std::ofstream(get_arg("error_output"), std::ios::binary)); + m_error_output_stream.reset(new std::ofstream(get_arg("error-output"), std::ios::binary)); } // Now insert any defaults for options not supplied by the user @@ -253,7 +253,7 @@ class Command virtual std::string help_text() const { return "Usage: " + m_spec + - "\n\nAll commands support --verbose --help --output= --error-output --rng-type= --drbg-seed="; + "\n\nAll commands support --verbose --help --output= --error-output= --rng-type= --drbg-seed="; } const std::string& cmd_spec() const |