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)] #[derive(Debug, Args)]
pub struct Ack; pub struct Ack;
impl Command for Ack { impl Command for Ack
{
fn run(&self) -> anyhow::Result<Exit> { todo!("keel ack") } fn run(&self) -> anyhow::Result<Exit> { todo!("keel ack") }
} }
+3 -3
View File
@@ -13,15 +13,15 @@ mod toggle;
mod verify; mod verify;
pub use ack::Ack; pub use ack::Ack;
pub use cache::{Cache, CacheAction, Prune}; pub use cache::{ Cache, Prune, CacheAction };
pub use check::Check; pub use check::Check;
pub use diff::Diff; pub use diff::Diff;
pub use doctor::Doctor; pub use doctor::Doctor;
pub use gc::Gc; 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 index::Index;
pub use notify::Notify; pub use notify::Notify;
pub use rollback::Rollback; pub use rollback::Rollback;
pub use status::Status; pub use status::Status;
pub use toggle::{Disable, Enable, HookSet}; pub use toggle::{ Enable, Disable, HookSet };
pub use verify::Verify; 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. /// Replace the root subvolume with a writable copy of a snapshot.
#[derive(Debug, Args)] #[derive(Debug, Args)]
pub struct Rollback { pub struct Rollback {
/// The snapshot to restore, as the snapshot provider names it. The default is the rollback /// The snapshot to restore, as the snapshot provider names it.
/// target. /// The default is the rollback target.
#[arg(value_name = "SNAPSHOT", conflicts_with = "promote")] #[arg(value_name = "SNAPSHOT", conflicts_with = "promote")]
pub snapshot: Option<String>, pub snapshot: Option<String>,
@@ -22,8 +22,8 @@ pub struct Rollback {
#[arg(long)] #[arg(long)]
pub reboot: bool, pub reboot: bool,
/// Wait until pacman releases its database lock, then roll back without asking. The post /// Wait until pacman releases its database lock, then roll back without asking.
/// hook starts this in a transient unit after the user has already confirmed. /// The post hook starts this in a transient unit after the user has already confirmed.
#[arg(long, hide = true, requires = "snapshot")] #[arg(long, hide = true, requires = "snapshot")]
pub deferred: bool, pub deferred: bool,
} }