ONE - On-device Neural Engine
Loading...
Searching...
No Matches
help-infer.cpp File Reference
#include <iostream>
#include <fstream>
#include <string>

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

help-infer prints dummy help message.

$ ./help-infer -h HELP MESSAGE!!

Definition at line 28 of file help-infer.cpp.

29{
30 if (argc != 2)
31 return EXIT_FAILURE;
32
33 std::string opt_h{"-h"};
34 std::string argv_1{argv[1]};
35
36 if (opt_h != argv_1)
37 return EXIT_FAILURE;
38
39 std::cout << "HELP MESSAGE!!" << std::endl;
40
41 return EXIT_SUCCESS;
42}