diff --git a/.deb/i-haklab/home/.zsh/cache/history b/.deb/i-haklab/home/.zsh/cache/history index f0c2817a..5946bb6d 100644 --- a/.deb/i-haklab/home/.zsh/cache/history +++ b/.deb/i-haklab/home/.zsh/cache/history @@ -9233,3 +9233,13 @@ pkg install mingw-w64\ : 1720238804:0;trans -b :en "Mostrar mensaje y salir" : 1720238900:0;nvim src/below_zero.cpp : 1720239663:0;git add --all +: 1720239711:0;git commit -m "Se desgloso el codigo nueva mente para un mejor entendimiento" +: 1720239768:0;i-haklab +: 1720239787:0;i-haklab --about lop +: 1720239811:0;bash build_sh.sh +: 1720239870:0;i-haklab --about lop +: 1720239885:0;i-haklab --about +: 1720239912:0;nvim include/below_zero.h +: 1720239922:0;nvim include/command_line_argument_parser.h +: 1720240142:0;cat include/command_line_argument_parser.h +: 1720240496:0;git add --all diff --git a/build/CMakeFiles/i-haklab.dir/main.cpp.o b/build/CMakeFiles/i-haklab.dir/main.cpp.o index 160dd15f..72f23c7c 100644 Binary files a/build/CMakeFiles/i-haklab.dir/main.cpp.o and b/build/CMakeFiles/i-haklab.dir/main.cpp.o differ diff --git a/build/i-haklab b/build/i-haklab index e3add186..b26f3c40 100755 Binary files a/build/i-haklab and b/build/i-haklab differ diff --git a/build/src/CMakeFiles/below_zero.dir/below_zero.cpp.o b/build/src/CMakeFiles/below_zero.dir/below_zero.cpp.o index 7a8a2bc6..8e9b8b8b 100644 Binary files a/build/src/CMakeFiles/below_zero.dir/below_zero.cpp.o and b/build/src/CMakeFiles/below_zero.dir/below_zero.cpp.o differ diff --git a/build/src/libbelow_zero.so b/build/src/libbelow_zero.so index d556fc8f..ea0e98d6 100755 Binary files a/build/src/libbelow_zero.so and b/build/src/libbelow_zero.so differ diff --git a/include/command_line_argument_parser.h b/include/command_line_argument_parser.h index 66a9d546..7a968b9f 100644 --- a/include/command_line_argument_parser.h +++ b/include/command_line_argument_parser.h @@ -9,10 +9,6 @@ using namespace std; class arguments { constexpr static auto help_option = "help"; constexpr static auto about_option_name = "about"; - constexpr static auto username_option = "username,u"; - constexpr static auto verbose_option_name = "verbose"; - constexpr static auto verbose_option = "verbose,v"; - constexpr static auto files_option_name = "input-files"; boost::program_options::variables_map variables; friend class command_line_argument_parser; @@ -25,8 +21,6 @@ class arguments { bool help() { return variables.count(help_option) > 0; } - bool verbose() { return variables.count(verbose_option_name) > 0; } - string about() { return (variables.count(about_option_name) > 0) @@ -34,11 +28,6 @@ class arguments { : ""; } - const vector filenames() { - return (variables.count(files_option_name) > 0) - ? variables[files_option_name].as>() - : vector(); - } }; class command_line_argument_parser { @@ -57,7 +46,7 @@ class command_line_argument_parser { boost::program_options::variables_map variables; boost::program_options::positional_options_description p; - p.add(arguments::files_option_name, -1); + // p.add(arguments::files_option_name, -1); boost::program_options::store( boost::program_options::command_line_parser(argc, argv)