небольшое обновление
This commit is contained in:
@@ -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, \
|
||||
|
||||
Reference in New Issue
Block a user