diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-04 04:08:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-04 04:08:15 +0300 |
commit | 188460a91bd37ca6f18fb89e448819b642953be7 (patch) | |
tree | 12fa7b29fa207240fe8ddf19d70f5a5333bf1233 /utils/file | |
parent | refactoring (diff) | |
download | aes-tools-188460a91bd37ca6f18fb89e448819b642953be7.tar.gz aes-tools-188460a91bd37ca6f18fb89e448819b642953be7.zip |
code style & refactoring
Diffstat (limited to '')
-rw-r--r-- | utils/file_cmd_parser.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/file_cmd_parser.hpp b/utils/file_cmd_parser.hpp index 0a6423f..e9cdaae 100644 --- a/utils/file_cmd_parser.hpp +++ b/utils/file_cmd_parser.hpp @@ -52,13 +52,13 @@ namespace namespace po = boost::program_options; options.add_options() - ("help,h", "show this message and exit") - ("mode,m", po::value<aes::Mode>(&settings.mode)->required(), "set mode of operation") - ("algorithm,a", po::value<aes::Algorithm>(&settings.algorithm)->required(), "set algorithm") - ("input-path,i", po::value<std::string>(&settings.input_path)->required(), "set input file path") - ("output-path,o", po::value<std::string>(&settings.output_path)->required(), "set output file path") - ("key,k", po::value<std::string>(&settings.key)->required(), "set encryption key") - ("iv,v", po::value<std::string>(&settings.iv), "set initialization vector"); + ("help,h", "show this message and exit") + ("mode,m", po::value<aes::Mode>(&settings.mode)->required(), "set mode of operation") + ("algorithm,a", po::value<aes::Algorithm>(&settings.algorithm)->required(), "set algorithm") + ("input,i", po::value<std::string>(&settings.input_path)->required(), "set input file path") + ("output,o", po::value<std::string>(&settings.output_path)->required(), "set output file path") + ("key,k", po::value<std::string>(&settings.key)->required(), "set encryption key") + ("iv,v", po::value<std::string>(&settings.iv), "set initialization vector"); po::variables_map vm; po::store(po::parse_command_line(argc, argv, options), vm); |