diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-07 16:19:20 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-07 16:19:20 +0100 |
commit | 0bba75241d59c64375cfece494eb9dcdbaa664fc (patch) | |
tree | b1fc2a3dc6755fcc91ed78026a1617b7416cddd9 /tool/src/main.rs | |
parent | 314bca18a43e22368a87fcad53d91190fe101b60 (diff) | |
download | jellything-0bba75241d59c64375cfece494eb9dcdbaa664fc.tar jellything-0bba75241d59c64375cfece494eb9dcdbaa664fc.tar.bz2 jellything-0bba75241d59c64375cfece494eb9dcdbaa664fc.tar.zst |
update client
Diffstat (limited to 'tool/src/main.rs')
-rw-r--r-- | tool/src/main.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tool/src/main.rs b/tool/src/main.rs index 0a0e84e..9ce7cf1 100644 --- a/tool/src/main.rs +++ b/tool/src/main.rs @@ -30,7 +30,11 @@ fn main() -> anyhow::Result<()> { .unwrap() .block_on(add(a)), a @ Action::Migrate { .. } => migrate(a), - Action::Reimport { hostname, no_tls } => tokio::runtime::Builder::new_multi_thread() + Action::Reimport { + hostname, + no_tls, + no_incremental, + } => tokio::runtime::Builder::new_multi_thread() .enable_all() .build() .unwrap() @@ -52,7 +56,7 @@ fn main() -> anyhow::Result<()> { }) .await?; - session.reimport().await?; + session.reimport(!no_incremental).await?; Ok(()) }), } |