added nuke util, C++ 20 build
This commit is contained in:
parent
ab4fb231e5
commit
9d18fc60b2
4 changed files with 9 additions and 3 deletions
6
nuke.cpp
6
nuke.cpp
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue