mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-24 23:51:04 +09:00
fixup! add backup related types and cmd arguments
This commit is contained in:
parent
56563a0e8b
commit
d9812bf006
1 changed files with 4 additions and 1 deletions
|
@ -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>,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue