chiark / gitweb /
otter cli: Rename --ssh-proxy-command option
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 17:00:12 +0000 (18:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 17:04:40 +0000 (18:04 +0100)
This is shorter and more consistent.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otter.rs

index 119573bd2f18eb894a0278d036409f1dd2da7680..6a46f637731f020088bafff5d08b3a927f967c14 100644 (file)
@@ -433,7 +433,7 @@ fn main() {
                    interporeted by the local shell)");
     ap.refer(&mut rma.ssh_proxy_command)
       .metavar("OTTER-PROXY-COMMAND")
-      .add_option(&["--ssh-remote-proxy-command"], StoreOption,
+      .add_option(&["--ssh-proxy-command"], StoreOption,
                   Box::leak(Box::new(/* bug in argparse */ format!(
                     "command to run instead of `{}` for remote Otter \
                     (shell syntax, interpreted by the remote shell)",