Handle command line arguments. More...
#include "mycommand.h"#include <string.h>#include <stdlib.h>#include "cmdLineParser.h"#include "parallel.h"#include "mytype.h"
Go to the source code of this file.
Functions | |
| Command | parseCommandLine (int argc, char **argv) |
| Process command line arguments into an easy to handle structure. More... | |
| void | printCmdYaml (FILE *file, Command *cmd) |
| Print run parameters in yaml format on the supplied output stream. More... | |
Handle command line arguments.
Definition in file mycommand.c.
| Command parseCommandLine | ( | int | argc, |
| char ** | argv | ||
| ) |
Process command line arguments into an easy to handle structure.
Initialize a Command structure with default values, then parse any command line arguments that were supplied to overwrite defaults.
| [in] | argc | the number of command line arguments |
| [in] | argv | the command line arguments array |
Definition at line 186 of file mycommand.c.


| void printCmdYaml | ( | FILE * | file, |
| Command * | cmd | ||
| ) |
Print run parameters in yaml format on the supplied output stream.
Definition at line 252 of file mycommand.c.

