summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2019-12-30 21:41:19 +0100
committerAram Drevekenin <aram@poor.dev>2019-12-30 21:41:19 +0100
commit92f0872ec3e4dcf58a5aed1ed8e111a71e4cf273 (patch)
treedfabcb50dc36cc871043511b961ff4300f0fc48a /src
parenta935397e66c96d989e7b81157ee603b0a58664d2 (diff)
chore(rename): what ==> bandwhich
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index dc8c4c5..77424c2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -34,7 +34,7 @@ use structopt::StructOpt;
const DISPLAY_DELTA: time::Duration = time::Duration::from_millis(1000);
#[derive(StructOpt, Debug)]
-#[structopt(name = "what")]
+#[structopt(name = "bandwhich")]
pub struct Opt {
#[structopt(short, long)]
/// The network interface to listen on, eg. eth0
@@ -72,7 +72,7 @@ fn try_main() -> Result<(), failure::Error> {
start(terminal_backend, os_input, opts);
}
Err(_) => failure::bail!(
- "Failed to get stdout: 'what' does not (yet) support piping, is it being piped?"
+ "Failed to get stdout: if you are trying to pipe 'bandwhich' you should use the --raw flag"
),
}
}