PLUTO  4.4-patch2
Functions
cmd_line_opt.c File Reference

Parse command line options. More...

#include "pluto.h"

Functions

void ParseCmdLineArgs (int argc, char *argv[], char *ini_file, cmdLine *cmd)
 

Detailed Description

Parse command line options at runtime and set values in the Cmd_Line structure.

Authors
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
March 20, 2020

Function Documentation

◆ ParseCmdLineArgs()

void ParseCmdLineArgs ( int  argc,
char *  argv[],
char *  ini_file,
cmdLine *  cmd 
)

Parse command line options. Error messages will be output to stdout.

Parameters
[in]argcargument count
[in]argvargument vector
[in]ini_filea pointer to a string containing the name of the initialization file (default: "pluto.ini")
[out]cmdthe command-line structure.