$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
cli.c File Reference
#include "cli.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for cli.c:

Functions

static void print_help (const char *prog_name)
 
CliAction cli_handle_args (int argc, char *argv[])
 Parses command-line arguments and determines the next action. More...
 

Function Documentation

◆ cli_handle_args()

CliAction cli_handle_args ( int  argc,
char *  argv[] 
)

Parses command-line arguments and determines the next action.

Parameters
argcNumber of arguments.
argvArray of argument strings.
Returns
The directive for the main entry point.
See also
main.c
Here is the call graph for this function:

◆ print_help()

static void print_help ( const char *  prog_name)
static