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
|
||||
};
|
||||
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)?;
|
||||
|
|
|
|||
Loading…
Reference in New Issue