diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/main.rs b/src/main.rs index 1379e09..ecab278 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,6 +76,8 @@ fn run() -> anyhow::Result<()> {      let username = &opt_matches.free[0];      let mirror_root = &opt_matches.free[1]; +    // Parse the maximum repo size and return an error if it fails. If the size +    // is `None`, set the value to `None`.      let max_repo_size_bytes = opt_matches.opt_str("skip-larger-than")          .map_or(              Ok(None), | 
