Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Document new command line flags.
  • Loading branch information
RauliL authored Aug 1, 2018
1 parent a10eb38 commit 1369a00
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,21 @@ Various command line flags can also be given to the interpreter. These are:
<td>Only checks that the syntax of the program is correct and does not
execute the program.</td>
</tr>
<tr>
<th scope="row">-e &lt;program&gt;</th>
<td>Execute one line of a program. Multiple <code>-e</code>'s are
allowed</td>
</tr>
<tr>
<th scope="row">-f</th>
<td>After the program has been compiled, forks the interpreter process
into background before executing the program. This feature is not available
on every platform. (Microsoft Windows)</td>
</tr>
<tr>
<th scope="row">-r &lt;path&gt;</th>
<td>Import module from given path before executing the script.</td>
</tr>
<tr>
<th scope="row">--version</th>
<td>Displays version number of the Plorth interpreter and terminates the
Expand Down

0 comments on commit 1369a00

Please sign in to comment.