fn check_add(var: &str) -> Result<(), String> {
    if var.contains("=") && var.len() >= 3 {
        Ok(())
    } else {
        Err(String::from("Need <src=dst>. With src the source folder or path and dst where it should be in the vpk archive."))
    }
}
/// Function used to check if "--add" option are correct for Clap
Function used to check if "--add" option are correct for Clap
Function used to check if " -- add " option are correct for Clap
fn check_add(var: &str) -> Result<(), String> {
    if var.contains("=") && var.len() >= 3 {
        Ok(())
    } else {
        Err(String::from("Need <src=dst>. With src the source folder or path and dst where it should be in the vpk archive."))
    }
}
fn check_add ( var : & str ) -> Result < ( ) , String > { if var . contains ( " " ) && var . len ( ) >= 3 { Ok ( ( ) ) } else { Err ( String :: from ( " " ) ) } }
Function used to check if "--add" option are correct for Clap
Function used to check if " -- add " option are correct for Clap
var
&str
var
&str