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 [2012/11/17 12:18] peter-b |
geda:gschem_ug:command_line [2012/11/17 12:53] (current) peter-b |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Command-line arguments ===== | ===== 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. | + | 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 ==== | ==== Message output and diagnostics ==== | ||
Line 17: | Line 17: | ||
| **-s** __FILE__ | Specify a Scheme script to be executed at startup. | | | **-s** __FILE__ | Specify a Scheme script to be executed at startup. | | ||
| **-c** __EXPR__ | Specify a Scheme expression to be evaluated at startup. | | | **-c** __EXPR__ | Specify a Scheme expression to be evaluated at startup. | | ||
- | | **%%--%%** | Treat all remaining arguments as schematic or symbol filenames. Use this if you have a schematic or symbol filename which begins with "-". | | ||
==== Other ==== | ==== Other ==== | ||
Line 24: | Line 23: | ||
| **-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. | | | **-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. | | | **-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 "-". | |