Fix formatting issues.
This commit is contained in:
1 parent
70dec5834e
commit
d6999153ae
15 files changed
+30
-28
No files matched your search
@@ -5,8 +5,8 @@ use crate::cli::{ Exit, Command };
|
||||
/// Replace the root subvolume with a writable copy of a snapshot.
|
||||
#[derive(Debug, Args)]
|
||||
pub struct Rollback {
|
||||
/// The snapshot to restore, as the snapshot provider names it. The default is the rollback
|
||||
/// target.
|
||||
/// The snapshot to restore, as the snapshot provider names it.
|
||||
/// The default is the rollback target.
|
||||
#[arg(value_name = "SNAPSHOT", conflicts_with = "promote")]
|
||||
pub snapshot: Option<String>,
|
||||
|
||||
@@ -22,13 +22,13 @@ pub struct Rollback {
|
||||
#[arg(long)]
|
||||
pub reboot: bool,
|
||||
|
||||
/// Wait until pacman releases its database lock, then roll back without asking. The post
|
||||
/// hook starts this in a transient unit after the user has already confirmed.
|
||||
/// Wait until pacman releases its database lock, then roll back without asking.
|
||||
/// The post hook starts this in a transient unit after the user has already confirmed.
|
||||
#[arg(long, hide = true, requires = "snapshot")]
|
||||
pub deferred: bool,
|
||||
}
|
||||
|
||||
impl Command for Rollback
|
||||
impl Command for Rollback
|
||||
{
|
||||
fn run(&self) -> anyhow::Result<Exit> { todo!("keel rollback") }
|
||||
}
|
||||
Reference in new issue
Block a user