Fix minor typos and copy-pastos

This commit is contained in:
Heikki Linnakangas
2021-04-07 16:39:37 +03:00
parent 3fea78d688
commit 6b9fc3aff0
8 changed files with 11 additions and 11 deletions

View File

@@ -27,14 +27,14 @@ fn main() -> Result<(), io::Error> {
.short("D")
.long("dir")
.takes_value(true)
.help("Path to the page server data directory"),
.help("Path to the WAL acceptor data directory"),
)
.arg(
Arg::with_name("listen")
.short("l")
.long("listen")
.takes_value(true)
.help("listen for incoming page requests on ip:port (default: 127.0.0.1:5454)"),
.help("listen for incoming connections on ip:port (default: 127.0.0.1:5454)"),
)
.arg(
Arg::with_name("pageserver")

View File

@@ -444,7 +444,7 @@ impl System {
return shared_state.hs_feedback;
}
// Load and lock control file (prevent running more than one instane of safekeeper */
// Load and lock control file (prevent running more than one instance of safekeeper
fn load_control_file(&self, conf: &WalAcceptorConf) {
let control_file_path = conf.data_dir
.join(self.id.to_string())