Skip to main content

joined_value_forms

Function joined_value_forms 

Source
pub fn joined_value_forms(args: &[String]) -> Vec<String>
Expand description

-p 8080 / --port 8080 written as -p=8080 / --port=8080, for every flag in CommandLineArgument::get_command_line_arg_list (since 18.37.0). A flag is joined with the next argument only when that one doesn’t start with -. -h stays as it is: alone it asks for help.