cli: Honor `--quiet` flag in `rad id update`
This commit is contained in:
parent
80f1e6516c
commit
6a9f11a1d9
|
|
@ -470,9 +470,11 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
||||||
proposal
|
proposal
|
||||||
};
|
};
|
||||||
if proposal == current.doc {
|
if proposal == current.doc {
|
||||||
term::print(term::format::italic(
|
if !options.quiet {
|
||||||
"Nothing to do. The document is up to date. See `rad inspect --identity`.",
|
term::print(term::format::italic(
|
||||||
));
|
"Nothing to do. The document is up to date. See `rad inspect --identity`.",
|
||||||
|
));
|
||||||
|
}
|
||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
let revision = update(title, description, proposal, &mut identity, &signer)?;
|
let revision = update(title, description, proposal, &mut identity, &signer)?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue