#include <config.h>
#include <version.h>
#include <missing.h>
#include <stdio.h>
#include <ctype.h>
#include "gschem.h"
Go to the source code of this file.
Define Documentation
#define GETOPT_OPTIONS "c:hL:o:pqr:s:vV" |
Function Documentation
static void usage |
( |
char * |
cmd | ) |
[static] |
- Function Description
- Print brief help message describing gschem usage & command-line options, then exit with exit_status.
- Parameters:
-
cmd | First element of argv (name of program as run). |
Definition at line 79 of file parsecmd.c.
static void version |
( |
| ) |
[static] |
- Function Description
- Print gEDA version, and copyright/warranty notices, and exit with exit status 0.
Definition at line 113 of file parsecmd.c.
int parse_commandline |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
- Function Description
- Parse command line options, displaying usage message or version information as required.
- Parameters:
-
argc | Number of command-line arguments. |
argv | Array of command-line arguments. |
- Returns:
- index into argv of first non-option argument.
Definition at line 136 of file parsecmd.c.
Variable Documentation
Contains a Scheme expression arising from command-line arguments. This is evaluated after initialising gschem, but before loading any rc files.
Definition at line 63 of file parsecmd.c.
Contains a Scheme expression arising from command-line arguments. This is evaluated after loading gschem and any schematic files specified on the command-line.
Definition at line 69 of file parsecmd.c.