Skip to content

Commit 61b8de8

Browse files
aiot-makerdceejay
authored andcommitted
Update the Command-line usage example (#104)
1 parent 12727ed commit 61b8de8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/getting-started/running.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,21 @@ You can now create your [first flow](first-flow).
4242

4343
### Command-line usage
4444

45-
Usage: node-red [-v] [-?] [--port 1880][--settings settings.js] [--userDir DIR] [flows.json]
45+
Usage: node-red [-v] [-?] [--port PORT] [--safe] [--settings settings.js]
46+
[--title TITLE] [--userDir DIR] [flows.json]
4647

4748
Options:
48-
-p, --port use specified TCP port for editor web ui
49+
-p, --port PORT use specified TCP port for editor web ui
4950
--safe start Node-RED editor without running flows
5051
-s, --settings FILE use specified settings file
5152
--title TITLE set process window title
5253
-u, --userDir DIR use specified user directory
5354
-v enable verbose output
5455
-?, --help show usage
55-
[flows.json] name of the data file you want to work with. Using different names,
56+
flows.json name of the flow file you want to work with. Using different names,
5657
such as greenhouse.json or robot.json, you can separate different
5758
undertakings you are working on. If you don't specify a name, it
58-
defaults to flows_xxxxxxxx.json where xxxxxxxx is your servername.
59+
defaults to flows_xxx.json where xxx is the hostname of your server.
5960

6061
----
6162

0 commit comments

Comments
 (0)