Am 6. Oktober 2011 21:36 schrieb Andrea Spadaccini <[email protected]>:
> --- a/man/gnt-cluster.rst
> +++ b/man/gnt-cluster.rst
> -**verify** [--no-nplus1-mem] [--node-group *nodegroup*]
> +| **verify** [--no-nplus1-mem] [--node-group *nodegroup*]
> +| [--error-codes] [{-I|--ignore-errors} *errorcode*]
> +| [,{-I|--ignore-errors} *errorcode*...]

Do you really want that comma?

> +The ``--error-codes`` option outputs each error in the following
> +parseable format: *ftype*:*ecode*:*edomain*:*name*:*msg*.
> +These fields have the following meaning:
> +
> +ftype
> +    Failure type. Can be *WARNING* or *ERROR*.
> +
> +ecode
> +    Error code of the failure. See below for a list of error codes.
> +
> +edomain
> +    Can be *cluster*, *node* or *instance*.

Can't you use constants here, too? Yes, this needs modifications on
docpp once again. Can be done in a later patch.

> +
> +name
> +    Contains the name of the item that is affected from the failure.
> +
> +msg
> +    Contains a descriptive error message about the error
> +
> +gnt-cluster verify will have an exit code different from *EXIT_SUCCESS* if at

``gnt-cluster verify``. Most people won't know what “EXIT_SUCCESS”
means. Just say “non-zero exit code”.

> +least one of the failures that are found are of type *ERROR*.

Michael

Reply via email to