From 665696f636e152ad9969ea0ca004cb83f1641ae6 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 28 Jul 2020 17:00:19 +0800 Subject: [PATCH] remove invalid clap configuration --- src/plumbing/pretty.rs | 4 ++-- tasks.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plumbing/pretty.rs b/src/plumbing/pretty.rs index 5456485e006..892c9d5fbc6 100644 --- a/src/plumbing/pretty.rs +++ b/src/plumbing/pretty.rs @@ -30,7 +30,7 @@ mod options { /// Verify the integrity of a pack or index file #[structopt(setting = AppSettings::ColoredHelp)] PackExplode { - #[structopt(long, requires("object_path"))] + #[structopt(long)] /// Read written objects back and assert they match their source. Fail the operation otherwise. /// /// Only relevant if an object directory is set. @@ -54,7 +54,7 @@ mod options { /// This helps to determine overhead related to compression. If unset, the sink will /// only create hashes from bytes, which is usually limited by the speed at which input /// can be obtained. - #[structopt(long, conflicts_with("object_path"))] + #[structopt(long)] sink_compress: bool, /// Display verbose messages and progress information diff --git a/tasks.md b/tasks.md index b8be6d6bdf2..7997d0159c0 100644 --- a/tasks.md +++ b/tasks.md @@ -41,7 +41,7 @@ * [x] progress * [x] option to compress sink input too * [x] unrelated: see if delta-decode buffer optimization can work easily - * [ ] --verify + * [x] --verify * [ ] can the pack object also gain 'verify' capabilities, like the loose object? Reduce complexity in the pack-verify impl * [ ] statistics