From fc2bab2c5871a2effea5d524f77e356917abeaea Mon Sep 17 00:00:00 2001 From: Kaley Fischer Date: Fri, 19 Jan 2024 15:08:17 +0100 Subject: [PATCH] imports: removed some unused imports --- src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 152b33f..25d6eea 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include @@ -13,7 +12,6 @@ using namespace std; using namespace cpptoml; - const string USAGE = R"#(usage: RapidMenu [flags] [ [args]] LISTING COMMANDS: -c: To specify which config to use. @@ -24,7 +22,6 @@ const string invalidvalue = R"#(Invalid value in config: )#"; const string egc = R"#(Invalid command in config: )#"; const string invalidconfig = R"#(Not a valid config: )#"; - struct Action { string names; string description; @@ -144,6 +141,7 @@ int main(int argc, char* argv[]) { return 1; } + // executable } else if (argc > 1 && strcmp(argv[1], "-b") == 0) { if (argc < 3 || argv[2][0] == '-') { cerr << USAGE.c_str() << endl; @@ -223,4 +221,4 @@ int main(int argc, char* argv[]) { } return 0; -} \ No newline at end of file +}