This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
geda:gschem_ug:command_line [2011/12/28 16:09] vzh [Scheme extensibility] Table formatting |
geda:gschem_ug:command_line [2012/11/17 12:53] peter-b |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | | << [[config|Configuring gschem]] | **[[geda:gschem_ug|gEDA gschem User Guide]]** | [[geda:gschem_ug:stroke|Mouse gesture support]] >> | | ||
+ | ===== Command-line arguments ===== | ||
+ | |||
+ | gschem accepts several optional arguments on the command-line. You can get a list of them by running ''gschem -h''. gschem also has a manpage (''man gschem'') which lists all of the command line options that it accepts. | ||
+ | |||
+ | ==== Message output and diagnostics ==== | ||
+ | |||
+ | | **-q**, **%%--%%quiet** | 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 gschem version information. | | ||
+ | |||
+ | ==== Scheme extensibility ==== | ||
+ | |||
+ | | **-L** __DIRECTORY__ | Prepend __DIRECTORY__ to the list of directories to be searched for Scheme files. | | ||
+ | | **-s** __FILE__ | Specify a Scheme script to be executed at startup. | | ||
+ | | **-c** __EXPR__ | Specify a Scheme expression to be evaluated at startup. | | ||
+ | |||
+ | ==== Other ==== | ||
+ | |||
+ | | **-r**, **%%--%%config-file**=__FILE__ | Specify an additional configuration file to be read after all other configuration files have been processed. | | ||
+ | | **-o**, **%%--%%output**=__FILE__ | Specify a filename for generating PostScript output. This command line argument is useful when running gschem from a shell script and with a Scheme script. The filename can be changed through the print dialog box. | | ||
+ | | **-p** | Automatically place the window. This may be useful if running gschem from the command line and generating output. | | ||
+ | | **%%--%%** | Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic or symbol filename which begins with "-". | |