Browse Source

Fix the "foregroung" typo

I made the typo once and then copy/pasted it everywhere.
pull/10/head
Rodolphe Breard 5 years ago
parent
commit
f9a71cbde6
  1. 1
      CHANGELOG.md
  2. 10
      acmed/src/main.rs
  3. 6
      man/en/acmed.8
  4. 6
      man/en/tacd.8
  5. 10
      tacd/src/main.rs

1
CHANGELOG.md

@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- A race condition when requesting multiple certificates on the same non-existent account has been fixed.
- The `foregroung` option has been renamed `foreground`.
## [0.6.0] - 2019-06-05

10
acmed/src/main.rs

@ -76,10 +76,10 @@ fn main() {
.conflicts_with("log-syslog"),
)
.arg(
Arg::with_name("foregroung")
Arg::with_name("foreground")
.short("f")
.long("foregroung")
.help("Runs in the foregroung"),
.long("foreground")
.help("Runs in the foreground"),
)
.arg(
Arg::with_name("pid-file")
@ -87,7 +87,7 @@ fn main() {
.help("Specifies the location of the PID file")
.takes_value(true)
.value_name("FILE")
.conflicts_with("foregroung"),
.conflicts_with("foreground"),
)
.arg(
Arg::with_name("root-cert")
@ -117,7 +117,7 @@ fn main() {
};
init_server(
matches.is_present("foregroung"),
matches.is_present("foreground"),
matches.value_of("pid-file").unwrap_or(DEFAULT_PID_FILE),
);

6
man/en/acmed.8

@ -13,7 +13,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl c|--config Ar FILE
.Op Fl f|--foregroung
.Op Fl f|--foreground
.Op Fl h|--help
.Op Fl -log-stderr
.Op Fl -log-syslog
@ -32,8 +32,8 @@ The options are as follows:
.Bl -tag
.It Fl c, -config Ar FILE
Specify an alternative configuration file.
.It Fl f, -foregroung
Runs in the foregroung
.It Fl f, -foreground
Runs in the foreground
.It Fl h, -help
Prints help information
.It Fl -log-stderr

6
man/en/tacd.8

@ -16,7 +16,7 @@
.Op Fl -acme-ext-file Ar FILE
.Op Fl d|--domain Ar STRING
.Op Fl -domain-file Ar STRING
.Op Fl f|--foregroung
.Op Fl f|--foreground
.Op Fl h|--help
.Op Fl l|--listen Ar host:port
.Op Fl -log-stderr
@ -53,8 +53,8 @@ File from which is read the acmeIdentifier extension to set in the self-signed c
The domain that is being validated.
.It Fl -domain-file Ar STRING
File from which is read the domain that is being validated.
.It Fl f, -foregroung
Runs in the foregroung.
.It Fl f, -foreground
Runs in the foreground.
.It Fl h, -help
Prints help information.
.It Fl i, -listen Ar host:port | unix:path

10
tacd/src/main.rs

@ -40,7 +40,7 @@ fn get_acme_value(cnf: &ArgMatches, opt: &str, opt_file: &str) -> Result<String,
fn init(cnf: &ArgMatches) -> Result<(), Error> {
acme_common::init_server(
cnf.is_present("foregroung"),
cnf.is_present("foreground"),
cnf.value_of("pid-file").unwrap_or(DEFAULT_PID_FILE),
);
let domain = get_acme_value(cnf, "domain", "domain-file")?;
@ -118,10 +118,10 @@ fn main() {
.conflicts_with("log-syslog"),
)
.arg(
Arg::with_name("foregroung")
.long("foregroung")
Arg::with_name("foreground")
.long("foreground")
.short("f")
.help("Runs in the foregroung"),
.help("Runs in the foreground"),
)
.arg(
Arg::with_name("pid-file")
@ -129,7 +129,7 @@ fn main() {
.help("Specifies the location of the PID file")
.takes_value(true)
.value_name("FILE")
.conflicts_with("foregroung"),
.conflicts_with("foreground"),
)
.get_matches();

Loading…
Cancel
Save