Skip to content

Commit

Permalink
Provide new option processing guidance for run.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 21, 2021
1 parent dd1db9e commit 27a501c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions run.pl
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@
),
server(Address).

opt_type(port, port, natural).
opt_type(p, port, natural).
opt_type(public, public, boolean).

opt_help(port, "TCP/IP port to bind to").
opt_help(public, "Connect to all interfaces instead of only to localhost").

opt_meta(port, 'PORT').

0 comments on commit 27a501c

Please sign in to comment.