update docs to list subcmd arguments

This commit is contained in:
qwjyh 2024-03-17 20:02:27 +09:00
parent 4c0da32998
commit 7e6159933f
2 changed files with 5 additions and 1 deletions

View file

@ -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,
},

View file

@ -1,7 +1,7 @@
use std::{
collections::HashMap,
io::{self, stdout, Write},
path::{ PathBuf},
path::PathBuf,
};
use anyhow::{anyhow, Context, Ok, Result};