Make --self-install a boolean flag

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-11-06 17:13:31 +11:00 committed by GitHub
parent 40a9033375
commit 65ca3d57c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -406,7 +406,7 @@ pub struct Args {
pub(crate) quiet: bool,
#[clap(long, hidden(true))]
pub(crate) self_install: Option<PathBuf>,
pub(crate) self_install: bool,
}
#[derive(Debug, Clone)]