mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-26 18:20:40 -04:00
Changed full_sync_mode to lowercase
Signed-off-by: Marcel Kräml <m.kraeml@kraeml.it>
This commit is contained in:
@@ -37,7 +37,7 @@ pub struct Opt {
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, ValueEnum)]
|
||||
#[value(rename_all = "PascalCase")]
|
||||
#[value(rename_all = "lower")]
|
||||
pub enum FullSyncMode {
|
||||
Growing,
|
||||
Paging,
|
||||
@@ -63,7 +63,7 @@ pub struct SlidingSyncConfig {
|
||||
pub proxy: String,
|
||||
|
||||
/// Activate growing window rather than pagination for full-sync
|
||||
#[arg(long, default_value = "Paging")]
|
||||
#[arg(long, default_value = "paging")]
|
||||
pub full_sync_mode: FullSyncMode,
|
||||
|
||||
/// Limit the growing/paging to this number of maximum items to caonsider
|
||||
|
||||
Reference in New Issue
Block a user