mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-04-01 05:35:27 +00:00
implement daemon mode argument option
This commit is contained in:
parent
77d0650aef
commit
1e3043d683
4 changed files with 58 additions and 21 deletions
|
|
@ -48,4 +48,8 @@ pub struct Config {
|
|||
/// Keep Nex entry on Snac post was removed
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
pub keep: bool,
|
||||
|
||||
/// Disables some debug output
|
||||
#[arg(short, long, default_value_t = false)]
|
||||
pub daemon: bool,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue