diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-17 11:02:24 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-05-17 15:34:06 +0200 |
commit | fcc2a8f770464e58646e965a86b544767a6cec91 (patch) | |
tree | 91514e3bb4b13a33b648b2552501afc31fd94252 /src/cli.rs | |
parent | 2734b33a560cc6abc7e697bd0c8ed1fe5f4dc398 (diff) |
Fix typo in help message
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -45,21 +45,21 @@ pub fn cli<'a>() -> App<'a> { .multiple(false) .long("db-url") .value_name("HOST") - .about("Overwrite the database host set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database host set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .arg(Arg::new("database_port") .required(false) .multiple(false) .long("db-port") .value_name("PORT") - .about("Overwrite the database port set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database port set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .arg(Arg::new("database_user") .required(false) .multiple(false) .long("db-user") .value_name("USER") - .about("Overwrite the database user set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database user set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .arg(Arg::new("database_password") .required(false) @@ -67,21 +67,21 @@ pub fn cli<'a>() -> App<'a> { .long("db-password") .alias("db-pw") .value_name("PASSWORD") - .about("Overwrite the database password set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database password set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .arg(Arg::new("database_name") .required(false) .multiple(false) .long("db-name") .value_name("NAME") - .about("Overwrite the database name set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database name set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .arg(Arg::new("database_connection_timeout") .required(false) .multiple(false) .long("db-timeout") .value_name("TIMEOUT") - .about("Overwrite the database connection timeout set via configuration. Can also be overriden via environment, but this setting has presendence.") + .about("Overwrite the database connection timeout set via configuration. Can also be overriden via environment, but this setting has precedence.") ) .subcommand(App::new("generate-completions") |