@@ -619,11 +619,11 @@ pub enum CallCacheCommand {
619619 #[ clap( long, conflicts_with_all = & [ "from" , "to" ] ) ]
620620 remove_entire_cache : bool ,
621621 /// Remove the cache for contracts that have not been accessed in the last <TTL_DAYS> days
622- #[ clap( long, conflicts_with_all = & [ "from" , "to" , "remove-entire-cache" ] , value_parser = clap:: value_parser!( i32 ) . range( 1 ..) ) ]
623- ttl_days : Option < i32 > ,
622+ #[ clap( long, conflicts_with_all = & [ "from" , "to" , "remove-entire-cache" ] , value_parser = clap:: value_parser!( u32 ) . range( 1 ..) ) ]
623+ ttl_days : Option < usize > ,
624624 /// Limits the number of contracts to consider for cache removal when using --ttl_days
625- #[ clap( long, conflicts_with_all = & [ "remove-entire-cache" , "to" , "from" ] , requires = "ttl_days" , value_parser = clap:: value_parser!( i64 ) . range( 1 ..) ) ]
626- ttl_max_contracts : Option < i64 > ,
625+ #[ clap( long, conflicts_with_all = & [ "remove-entire-cache" , "to" , "from" ] , requires = "ttl_days" , value_parser = clap:: value_parser!( u64 ) . range( 1 ..) ) ]
626+ ttl_max_contracts : Option < usize > ,
627627 /// Starting block number
628628 #[ clap( long, short, conflicts_with = "remove-entire-cache" , requires = "to" ) ]
629629 from : Option < i32 > ,
0 commit comments