diff --git a/lib/src/cli.rs b/lib/src/cli.rs index bfac767b..0a823871 100644 --- a/lib/src/cli.rs +++ b/lib/src/cli.rs @@ -38,8 +38,10 @@ pub(crate) struct ProgressOptions { /// /// Interactive progress will be written to this file descriptor as "JSON lines" /// format, where each value is separated by a newline. - #[clap(long, hide = true)] - pub(crate) progress_fd: Option, + /// + /// The format is experimental and may be removed after a small deprecation period. + #[clap(long)] + pub(crate) json_fd: Option, } impl TryFrom for ProgressWriter { @@ -47,7 +49,7 @@ impl TryFrom for ProgressWriter { fn try_from(value: ProgressOptions) -> Result { let r = value - .progress_fd + .json_fd .map(TryInto::try_into) .transpose()? .unwrap_or_default();