Changed full_sync_mode to lowercase

Signed-off-by: Marcel Kräml <m.kraeml@kraeml.it>
This commit is contained in:
Marcel Kräml
2023-01-04 12:21:14 +01:00
parent eef0bf4b91
commit cda596ebed

View File

@@ -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