Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Allow `--inventory` and `--announce` together
cloudhead committed 1 year ago
commit 61733ebb9534ba497c2af774e92f78e359751ad0
parent a85e7f7442117271c97ffbedc1671a7b1ea996a5
1 file changed +2 -2
modified 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 {