Improve description of datadir flag (#9809)

* Improve description of `datadir` flag

* improve doc
This commit is contained in:
Radosław Kapka 2021-10-22 14:53:13 +02:00 committed by GitHub
parent 3c721418db
commit 5b3375638a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,10 @@ var (
Usage: "Logging verbosity (trace, debug, info=default, warn, error, fatal, panic)", Usage: "Logging verbosity (trace, debug, info=default, warn, error, fatal, panic)",
Value: "info", Value: "info",
} }
// DataDirFlag defines a path on disk. // DataDirFlag defines a path on disk where Prysm databases are stored.
DataDirFlag = &cli.StringFlag{ DataDirFlag = &cli.StringFlag{
Name: "datadir", Name: "datadir",
Usage: "Data directory for the databases and keystore", Usage: "Data directory for the databases",
Value: DefaultDataDir(), Value: DefaultDataDir(),
} }
// EnableBackupWebhookFlag for users to trigger db backups via an HTTP webhook. // EnableBackupWebhookFlag for users to trigger db backups via an HTTP webhook.