diff options
author | 2013-02-11 16:38:18 -0500 | |
---|---|---|
committer | 2013-02-11 16:38:18 -0500 | |
commit | 1e0661c37bf40189c91e935811296b9919804075 (patch) | |
tree | 34e4c96afc9af8d86f51c564ec7c76666095ef0e /doc/10_Advanced.md | |
parent | 8e45692099dd22635bb06764ef281e858784565f (diff) | |
download | textadept-1e0661c37bf40189c91e935811296b9919804075.tar.gz textadept-1e0661c37bf40189c91e935811296b9919804075.zip |
Added command line switches for running Lua code on startup.
Diffstat (limited to 'doc/10_Advanced.md')
-rw-r--r-- | doc/10_Advanced.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/10_Advanced.md b/doc/10_Advanced.md index a54f7145..5ac24594 100644 --- a/doc/10_Advanced.md +++ b/doc/10_Advanced.md @@ -10,7 +10,8 @@ For available commands, see the [Lua API][]. Abbreviated commands for [`buffer`][], [`view`][] and [`gui`][] are available: the command `buffer:append_text('foo')` can be shortened to `append_text('foo')`. Therefore, use `_G.print()` for Lua's `print()` since [`gui.print()`][] is shortened to -`print()`. +`print()`. You can also run commands on startup using the `-e` and `--execute` +command line switches.  |