diff options
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(()) }), } |