summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2019-02-07 22:31:37 +0100
committerDavid Peter <sharkdp@users.noreply.github.com>2019-02-07 23:27:53 +0100
commitcff01d81fa21e7ae469b9b4b2ea21e4578870732 (patch)
treede89f38399455731f493a1c889e093c4ee28eb1c /src/main.rs
parent31608c9a031fc1b2cec70595c6fa0026bf77ca4e (diff)
Rename 'bat cache --init' to 'bat cache --build'
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6a80c87d..98bd9b34 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -86,7 +86,7 @@ mod errors {
use errors::*;
fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {
- if matches.is_present("init") {
+ if matches.is_present("build") {
let source_dir = matches.value_of("source").map(Path::new);
let target_dir = matches.value_of("target").map(Path::new);