pub fn parse_sparse_mode(s: &str) -> Result<SparseMode, String>
Parse a --sparse=WHEN value.
--sparse=WHEN