Skip to content

Commit 8e2d6ee

Browse files
author
Nina Chaubal
committed
Make --verbose default. Add --silent option.
1 parent 5d8c052 commit 8e2d6ee

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ $ solid start --help
202202
--server-name [value] A name for your server (not required, but will be presented on your server's frontpage)
203203
--server-description [value] A description of your server (not required)
204204
--server-logo [value] A logo that represents you, your brand, or your server (not required)
205-
-v, --verbose Print the logs to console
205+
-s, --silent Do not print the logs to console
206+
-v, --verbose DEPRECATED: Print the logs to console.
206207
-h, --help output usage information
207208
```
208209

bin/lib/start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function (program, server) {
3232
}
3333
})
3434

35-
start.option('-v, --verbose', 'Print the logs to console')
35+
start.option('-s, --silent', 'Do not print the logs to console')
3636

3737
start.action((opts) => {
3838
let argv = extend({}, opts, { version: program.version() })
@@ -76,7 +76,7 @@ function bin (argv, server) {
7676
argv.live = !argv.noLive
7777

7878
// Set up debug environment
79-
if (argv.verbose) {
79+
if (!argv.silent) {
8080
process.env.DEBUG = 'solid:*'
8181
}
8282

0 commit comments

Comments
 (0)