mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 17:59:50 +00:00
23 lines
374 B
C++
23 lines
374 B
C++
#include <unistd.h>
|
|
#include <stdio.h>
|
|
|
|
#include <docopt.h>
|
|
#include "golpe.h"
|
|
|
|
#include "gc.h"
|
|
|
|
|
|
static const char USAGE[] =
|
|
R"(
|
|
Usage:
|
|
gc
|
|
)";
|
|
|
|
|
|
void cmd_gc(const std::vector<std::string> &subArgs) {
|
|
std::map<std::string, docopt::value> args = docopt::docopt(USAGE, subArgs, true, "");
|
|
|
|
auto qdb = getQdbInstance();
|
|
quadrableGarbageCollect(qdb, 2);
|
|
}
|