Skip to content

Commit c3a4736

Browse files
committed
Add a description for the '-l' command line option.
1 parent ce5a264 commit c3a4736

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lpc17prl.lua

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ local repl = require'repl'
99

1010
local usage_str = string.format([=[
1111
Usage:
12-
%s [-vqi] [-O[no-]<option>[=<value>]] [-W|-R|-V <file-name>] [-P|-T|-E|-B|-I|-h]
12+
%s
13+
[-vqi] [-O[no-]<option>[=<value>]] [-l <lua-file>]
14+
[-W|-R|-V <file-name>] [-P|-T|-E|-B|-I|-h]
1315
]=], arg[0])
1416

1517
local help_str = [=[
@@ -30,7 +32,11 @@ Modes:
3032
-E Erase
3133
-B Blank check
3234
-I Enter ISP mode (use with -i)
33-
-h Show this message
35+
36+
Other options:
37+
-h Show this help message
38+
-l Load and execute <lua-file> from the current folder before
39+
starting the repl
3440
3541
Options (<> mark the default):
3642
hex/<no-hex>

0 commit comments

Comments
 (0)