From d9812bf0065013668fda8f7281d82ede88adde2d Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 14 Mar 2024 02:14:55 +0900 Subject: [PATCH] fixup! add backup related types and cmd arguments --- src/cmd_args.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd_args.rs b/src/cmd_args.rs index e7ce004..1e42485 100644 --- a/src/cmd_args.rs +++ b/src/cmd_args.rs @@ -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, },