fixup! add backup related types and cmd arguments

This commit is contained in:
qwjyh 2024-03-14 02:14:55 +09:00
parent 56563a0e8b
commit d9812bf006

View file

@ -153,8 +153,11 @@ pub(crate) enum BackupSubCommands {
List {},
/// Record xdbm that the backup with the name has finished right now.
Done {
/// Name of the backup config.
name: String,
succeeded: bool,
/// Result of the backup
exit_status: u64,
/// Optional log or note about the backup execution.
#[arg(short, long)]
log: Option<String>,
},