mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-22 06:40:12 +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 {},
|
List {},
|
||||||
/// Record xdbm that the backup with the name has finished right now.
|
/// Record xdbm that the backup with the name has finished right now.
|
||||||
Done {
|
Done {
|
||||||
|
/// Name of the backup config.
|
||||||
name: String,
|
name: String,
|
||||||
succeeded: bool,
|
/// Result of the backup
|
||||||
|
exit_status: u64,
|
||||||
|
/// Optional log or note about the backup execution.
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
log: Option<String>,
|
log: Option<String>,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue