небольшое обновление

This commit is contained in:
2026-09-05 05:43:22 +06:00
parent 4d459313db
commit 1134dc18d1
2 changed files with 180 additions and 17 deletions
+2 -9
View File
@@ -8,12 +8,9 @@
#include <algorithm>
#include <cmath>
#include <opencv2/opencv.hpp>
#include "curl/curl.h"
#include <curl/curl.h>
extern "C" {
#include "libs/argparse.h"
#include <libs/argparse.h>
}
namespace fs = std::filesystem;
@@ -234,14 +231,10 @@ int main(int argc, const char **argv) {
const char* raw_scheme_path = nullptr;
const char* raw_wall_path = nullptr;
int is_pastel = 0;
struct argparse_option options[] = {
OPT_HELP(),
OPT_STRING(0,"link", &link, \
"ссылка на изображение с сайта wallhave.cc", NULL, 0, 0),
OPT_BOOLEAN('p', "pastel", &is_pastel, \
"создать пастельные палитры", NULL, 0, 0),
OPT_STRING(0,"scheme-output", &raw_scheme_path,\
"директория для сохранения палитр", NULL, 0, 0),
OPT_STRING(0,"wall-output", &raw_wall_path, \