mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-04-01 05:35:27 +00:00
implement argument option to Keep Nex entry on Snac post was removed (disables cleanup action)
This commit is contained in:
parent
499a78004a
commit
d8dac50cb6
5 changed files with 66 additions and 24 deletions
|
|
@ -44,4 +44,8 @@ pub struct Config {
|
|||
/// * escaped with `%%`
|
||||
#[arg(long, default_value_t = String::from("%Y/%m/%d %H:%M:%S"))]
|
||||
pub format_updated: String,
|
||||
|
||||
/// Keep Nex entry on Snac post was removed
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
pub keep: bool,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue