summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-10 14:53:59 -0400
committerbd <bdunahu@operationnull.com>2025-03-10 14:53:59 -0400
commit486d18df5ca93e043fdd14fac1d22b5fe40fb6f6 (patch)
treefc77cc22024b719f14e03e29e2bbd94b3eb645ca /src/main.cc
parentd0ec568e4f063fd1c85087582283f3511e0a12ec (diff)
Update cli method signatures, add some getters to cache and storage
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main.cc b/src/main.cc
index 68b3cdf..08cb89f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -1,10 +1,8 @@
-#include "logger.h"
#include "cli.h"
+#include "logger.h"
#include <getopt.h>
#include <iostream>
-
-
void err()
{
std::cerr << "Usage:\n\trisc_vector [OPTIONS]\nOptions:\n\t--debug,\t-d: "
@@ -43,7 +41,7 @@ void parseArguments(int argc, char **argv, Logger &logger, bool &python)
int main(int argc, char **argv)
{
Logger logger("vector.log");
- Cli cli;
+ Cli cli;
logger.log(INFO, "Initializing...");
bool python = true;
@@ -55,6 +53,6 @@ int main(int argc, char **argv)
logger.log(INFO, "Python started.");
}
- cli.run();
+ cli.run();
return EXIT_SUCCESS;
-} \ No newline at end of file
+}