Files
UnrealEngine/Engine/Source/ThirdParty/CLI11/git-main/fuzz/fuzzCommand.cpp
2025-05-18 13:04:45 +08:00

25 lines
576 B
C++

// Copyright (c) 2017-2023, University of Cincinnati, developed by Henry Schreiner
// under NSF AWARD 1414736 and by the respective contributors.
// All rights reserved.
//
// SPDX-License-Identifier: BSD-3-Clause
#include "fuzzApp.hpp"
#include <CLI/CLI.hpp>
#include <iostream>
int main(int argc, char **argv) {
CLI::FuzzApp fuzzdata;
auto app = fuzzdata.generateApp();
try {
app->parse(argc, argv);
} catch(const CLI::ParseError &e) {
(app)->exit(e);
// this just indicates we caught an error known by CLI
}
return 0;
}