aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aesxx/utils/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'aesxx/utils/helpers')
-rw-r--r--aesxx/utils/helpers/cmd_parser_block.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/aesxx/utils/helpers/cmd_parser_block.hpp b/aesxx/utils/helpers/cmd_parser_block.hpp
index b463656..e8ba1b6 100644
--- a/aesxx/utils/helpers/cmd_parser_block.hpp
+++ b/aesxx/utils/helpers/cmd_parser_block.hpp
@@ -52,7 +52,7 @@ public:
explicit BlockSettings(std::string_view argv0) : SettingsParser{argv0} {
namespace po = boost::program_options;
- visible.add_options()("verbose,v", po::bool_switch(&_verbose), "enable verbose output");
+ visible.add_options()("verbose,v", po::bool_switch(&verbose), "enable verbose output");
visible.add_options()(
"algorithm,a", po::value(&algorithm)->required()->value_name("NAME"), "set algorithm"
);
@@ -94,8 +94,8 @@ public:
return inputs;
}
- bool verbose() const {
- return _verbose;
+ bool get_verbose() const {
+ return verbose;
}
private:
@@ -140,6 +140,5 @@ private:
aes::Algorithm algorithm;
aes::Mode mode;
std::vector<Input> inputs;
-
- bool _verbose = false;
+ bool verbose = false;
};