-
Notifications
You must be signed in to change notification settings - Fork 34
CLI Method print_usage
Stefano Zaghi edited this page Mar 23, 2016
·
3 revisions
Signature
call cli%print_usage(pref)
Print the correct usage of the CLI.
character(*), optional, intent(in) :: pref !< Prefixing string.
In general the print_usage
method should not be used from the end-user because it is already safely (and automatically) used by the library. However, for taking into account very peculiar circumstances, it is publicly exposed.
Must be used for printing the correct usage of the CLI
use flap
...
type(command_line_interface):: cli
call cli%init(...)
call cli%add(...)
! directly print the usage for your obscure aims...
call cli%print_usage
Home | About | Getting Started Guide | Usage | Copyright © 2016 szaghi