aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 006a7ddbc..49c34014b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3057,6 +3057,8 @@ int main(int arg_count, char const **arg_ptr) {
} else if (command == "root") {
gb_printf("%.*s", LIT(odin_root_dir()));
return 0;
+ } else if (command == "clear-cache") {
+ return try_clear_cache();
} else {
String argv1 = {};
if (args.count > 1) {