mirror of
https://github.com/qwjyh/xdbm
synced 2024-11-21 22:30:12 +09:00
update docs to list subcmd arguments
This commit is contained in:
parent
4c0da32998
commit
7e6159933f
2 changed files with 5 additions and 1 deletions
|
@ -161,12 +161,16 @@ pub(crate) enum BackupSubCommands {
|
|||
/// Print configured backups.
|
||||
/// Filter by src/dest storage or device.
|
||||
List {
|
||||
/// Filter by backup source storage name.
|
||||
#[arg(long)]
|
||||
src: Option<String>,
|
||||
/// Filter by backup destination storage name.
|
||||
#[arg(long)]
|
||||
dest: Option<String>,
|
||||
/// Filter by device where the backup is configured.
|
||||
#[arg(long)]
|
||||
device: Option<String>,
|
||||
/// Long display with more information.
|
||||
#[arg(short, long)]
|
||||
long: bool,
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use std::{
|
||||
collections::HashMap,
|
||||
io::{self, stdout, Write},
|
||||
path::{ PathBuf},
|
||||
path::PathBuf,
|
||||
};
|
||||
|
||||
use anyhow::{anyhow, Context, Ok, Result};
|
||||
|
|
Loading…
Reference in a new issue