chiark / gitweb /
otter cli: Switch to CookedStdout for list-ssh-keys
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 12:58:02 +0000 (13:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 1 Jun 2021 14:47:10 +0000 (15:47 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otter.rs

index f930454a8c352cb7ef2e5a9d00da899465ca3499..24888ad293d15767e7c6b019bb7dfccb98235296 100644 (file)
@@ -2144,7 +2144,7 @@ mod list_ssh_keys {
 
     use sshkeys::*;
 
-    let mut out = BufWriter::new(io::stdout());
+    let mut out = CookedStdout::new();
 
     // find the one we're using now