pub fn formatted_help(&self) -> String {
        let mut help_builder = vec![];

        let required_arguments = self.format_arguments(true);
        if !required_arguments.is_empty() {
            help_builder.push("required arguments:".to_string());
            help_builder.push(required_arguments);
        }

        let optional_arguments = self.format_arguments(false);
        if !optional_arguments.is_empty() {
            // Add line break if `required_arguments` is pushed.
            if !help_builder.is_empty() {
                help_builder.push("".to_string());
            }

            help_builder.push("optional arguments:".to_string());
            help_builder.push(optional_arguments);
        }

        help_builder.join("\n")
    }
/// Concatenate the `help` information of every possible argument
/// in a message that represents the correct command line usage
/// for the application.
Concatenate the `help` information of every possible argument
in a message that represents the correct command line usage
for the application.
Concatenate the ` help ` information of every possible argument in a message that represents the correct command line usage for the application .
pub fn formatted_help(&self) -> String {
        let mut help_builder = vec![];
        let required_arguments = self.format_arguments(true);
        if !required_arguments.is_empty() {
            help_builder.push("required arguments:".to_string());
            help_builder.push(required_arguments);
        }
        let optional_arguments = self.format_arguments(false);
        if !optional_arguments.is_empty() {
            // Add line break if `required_arguments` is pushed.
            if !help_builder.is_empty() {
                help_builder.push("".to_string());
            }
            help_builder.push("optional arguments:".to_string());
            help_builder.push(optional_arguments);
        }
        help_builder.join("\n")
    }
pub fn formatted_help ( & self ) -> String { let mut help_builder = vec ! [ ] ; let required_arguments = self . format_arguments ( true ) ; if ! required_arguments . is_empty ( ) { help_builder . push ( " " . to_string ( ) ) ; help_builder . push ( required_arguments ) ; } let optional_arguments = self . format_arguments ( false ) ; if ! optional_arguments . is_empty ( ) { // Add line break if `required_arguments` is pushed. if ! help_builder . is_empty ( ) { help_builder . push ( " " . to_string ( ) ) ; } help_builder . push ( " " . to_string ( ) ) ; help_builder . push ( optional_arguments ) ; } help_builder . join ( " \n " ) }
Concatenate the `help` information of every possible argument
in a message that represents the correct command line usage
for the application.
Concatenate the ` help ` information of every possible argument in a message that represents the correct command line usage for the application .
&self
&self