This shows you the differences between two versions of the page.
geda:gnetlist_ug:command_line [2012/11/17 12:50] peter-b created |
geda:gnetlist_ug:command_line [2012/11/17 12:58] (current) peter-b |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Command-line arguments ===== | ===== Command-line arguments ===== | ||
+ | gnetlist accepts several optional arguments on the command-line. You can get a list of them by running ''gnetlist -h''. gnetlist also has a manpage (''man gnetlist'') which lists all of the command line options that it accepts. | ||
+ | ==== Message output and diagnostics ==== | ||
+ | |||
+ | | **-q** | Quiet mode. Turn off all warnings/notes/messages. | | ||
+ | | **-v**, **%%--%%verbose** | Verbose mode. Output extra diagnostic information. | | ||
+ | | **-h**, **%%--%%help** | Print a help message. | | ||
+ | | **-V**, **%%--%%version** | Print gnetlist version information. | | ||
+ | | **%%--%%list-backends** | Print a list of installed netlist backends. | | ||
+ | |||
+ | ==== Netlist processing ==== | ||
+ | |||
+ | | **-o** __FILE__ | Write the generated netlist to __FILE__. | | ||
+ | | **-g** __BACKEND__ | Specify which backend to use to generate netlist data. | | ||
+ | | **-O** __STRING__ | Pass an option __STRING__ to the netlist backend. | | ||
+ | | **-i** | Enter the interactive mode Scheme REPL instead of running a backend. | | ||
+ | | **%%--%%** | Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic filename which begins with "-". | | ||
+ | |||
+ | ==== Scheme extensibility ==== | ||
+ | |||
+ | | **-L** __DIRECTORY__ | Prepend __DIRECTORY__ to the list of directories to be searched for Scheme files. | | ||
+ | | **-c** __EXPR__ | Specify a Scheme expression to be evaluated at startup. | | ||
+ | | **-l** __FILE__ | Specify a Scheme script to be executed before loading a backend. | | ||
+ | | **-m** __FILE__ | Specify a Scheme script to be executed after loading a backend. | |