diff --git a/radicle-cli/src/commands/sync.rs b/radicle-cli/src/commands/sync.rs index 37fa76f8..87279c76 100644 --- a/radicle-cli/src/commands/sync.rs +++ b/radicle-cli/src/commands/sync.rs @@ -210,8 +210,8 @@ impl Args for Options { } } - let sync = if inventory && (fetch || announce) { - anyhow::bail!("`--inventory` cannot be used with `--fetch` or `--announce`"); + let sync = if inventory && fetch { + anyhow::bail!("`--inventory` cannot be used with `--fetch`"); } else if inventory { SyncMode::Inventory } else {