Fix formatting issues.

This commit is contained in:
Overlord committed 2026-10-17 01:38:34 +02:00
1 parent 70dec5834e
commit d6999153ae
4 files changed
+10 -8

No files matched your search

+1
View File
@@ -0,0 +1 @@
disable_all_formatting = true
+2 -1
View File
@@ -6,6 +6,7 @@ use crate::cli::{ Exit, Command };
#[derive(Debug, Args)]
pub struct Ack;
impl Command for Ack {
impl Command for Ack
{
fn run(&self) -> anyhow::Result<Exit> { todo!("keel ack") }
}
+3 -3
View File
@@ -13,15 +13,15 @@ mod toggle;
mod verify;
pub use ack::Ack;
pub use cache::{Cache, CacheAction, Prune};
pub use cache::{ Cache, Prune, CacheAction };
pub use check::Check;
pub use diff::Diff;
pub use doctor::Doctor;
pub use gc::Gc;
pub use hook::{Hook, Phase, Post, Pre, Removals};
pub use hook::{ Pre, Hook, Post, Phase, Removals };
pub use index::Index;
pub use notify::Notify;
pub use rollback::Rollback;
pub use status::Status;
pub use toggle::{Disable, Enable, HookSet};
pub use toggle::{ Enable, Disable, HookSet };
pub use verify::Verify;
+4 -4
View File
@@ -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,8 +22,8 @@ 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,
}