Update CLI with more info on --offline

Problem: The --offline documentation doesn't mention that networking
status can be changed, which may give the false understanding that the
networking is permanently offline when you use that flag.

Solution: Add a note that mentions that the 'meta' page lets you change
your networking status, and that --offline is only applicable to the
starting state of Oasis.
This commit is contained in:
Christian Bundy
2020-01-27 11:55:23 -08:00
parent f40c6ff484
commit 64a2ed135c
2 changed files with 6 additions and 5 deletions

View File

@ -11,12 +11,13 @@ module.exports = () =>
.usage("Usage: $0 [options]")
.options("open", {
describe:
"Automatically open app in web browser. Use --no-open to disable.",
"Automatically open app in web browser. Use --no-open to disable.",
default: true,
type: "boolean"
})
.options("offline", {
describe: "Don't try to connect to scuttlebutt peers or pubs",
describe:
"Don't try to connect to scuttlebutt peers or pubs. This can be changed on the 'meta' page while Oasis is running.",
default: false,
type: "boolean"
})