added nuke util, C++ 20 build

This commit is contained in:
patricus 2025-07-05 18:57:54 +02:00
parent ab4fb231e5
commit 9d18fc60b2
4 changed files with 9 additions and 3 deletions

View file

@ -1,9 +1,15 @@
#include<version.h>
#include<string>
#include<filesystem>
#include<iostream>
using namespace std;
int main(int argc, char* argv[])
{
for(int i=1;i<argc;i++){
if (string(argv[i]) == "-v")
{
cout<<"patricus utils, version "+string(VERSION);
}
if(!filesystem::exists(argv[i]))
{
cerr<<"error, no such file or directory";