public function displayHelp()
    {
        printf("%s\n", $this->getUsage());
        printf("%s\n", $this->getDescription());


        // Les options non incluses dans un groupe
        if (count(self::$arr_opt)) {
            foreach (self::$arr_opt as $arg) {
                printf("%s\n", rtrim($arg));
            }
        }

        // Options faisant partie d’un groupe
        if (count(self::$arr_group)) {
            foreach (self::$arr_group as $group) {
                if (count($group->args)) {
                    print("\n\n");

                    if ($group->name) {
                        $name = $group->name;

                        if ($this->obj_color->label || $this->obj_color->bold) {
                            $name = new Ansi($name);

                            if ($this->obj_color->label) {
                                $name->fg($this->obj_color->label);
                            }

                            if ($this->obj_color->bold) {
                                $name->bold;
                            }
                        }

                        printf("%s\n", $name);
                    }
                    foreach ($group->args as $arg) {
                        printf("%s\n", rtrim($arg));
                    }
                }
            }
        }

        exit();
    }
public function displayHelp()
    {
        printf("%s\n", $this->getUsage());
        printf("%s\n", $this->getDescription());


        // Les options non incluses dans un groupe
        if (count(self::$arr_opt)) {
            foreach (self::$arr_opt as $arg) {
                printf("%s\n", rtrim($arg));
            }
        }

        // Options faisant partie d’un groupe
        if (count(self::$arr_group)) {
            foreach (self::$arr_group as $group) {
                if (count($group->args)) {
                    print("\n\n");

                    if ($group->name) {
                        $name = $group->name;

                        if ($this->obj_color->label || $this->obj_color->bold) {
                            $name = new Ansi($name);

                            if ($this->obj_color->label) {
                                $name->fg($this->obj_color->label);
                            }

                            if ($this->obj_color->bold) {
                                $name->bold;
                            }
                        }

                        printf("%s\n", $name);
                    }
                    foreach ($group->args as $arg) {
                        printf("%s\n", rtrim($arg));
                    }
                }
            }
        }

        exit();
    }
public function displayHelp ( ) { printf ( "%s\n" , $ this -> getUsage ( ) ) ; printf ( "%s\n" , $ this -> getDescription ( ) ) ; // Les options non incluses dans un groupe if ( count ( self :: $ arr_opt ) ) { foreach ( self :: $ arr_opt as $ arg ) { printf ( "%s\n" , rtrim ( $ arg ) ) ; } } // Options faisant partie d’un groupe if ( count ( self :: $ arr_group ) ) { foreach ( self :: $ arr_group as $ group ) { if ( count ( $ group -> args ) ) { print ( "\n\n" ) ; if ( $ group -> name ) { $ name = $ group -> name ; if ( $ this -> obj_color -> label || $ this -> obj_color -> bold ) { $ name = new Ansi ( $ name ) ; if ( $ this -> obj_color -> label ) { $ name -> fg ( $ this -> obj_color -> label ) ; } if ( $ this -> obj_color -> bold ) { $ name -> bold ; } } printf ( "%s\n" , $ name ) ; } foreach ( $ group -> args as $ arg ) { printf ( "%s\n" , rtrim ( $ arg ) ) ; } } } } exit ( ) ; }
Displays full help message.

This follows terminal size or not if `flexible()` method was called or not before.

@access public
@return void
Displays full help message .