Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Honor `--quiet` flag in `rad id update`
cloudhead committed 1 year ago
commit 6a9f11a1d9747661403b4a59dde8275548334e86
parent 80f1e6516cfb2412988c72deb3dd024c2a920bf3
1 file changed +5 -3
modified radicle-cli/src/commands/id.rs
@@ -470,9 +470,11 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
                proposal
            };
            if proposal == current.doc {
-
                term::print(term::format::italic(
-
                    "Nothing to do. The document is up to date. See `rad inspect --identity`.",
-
                ));
+
                if !options.quiet {
+
                    term::print(term::format::italic(
+
                        "Nothing to do. The document is up to date. See `rad inspect --identity`.",
+
                    ));
+
                }
                return Ok(());
            }
            let revision = update(title, description, proposal, &mut identity, &signer)?;