# tf.compat.v1.flags.doc_to_help

<br />

Takes a **doc** string and reformats it as help.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.app.flags.doc_to_help`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/flags/doc_to_help)

<br />

    tf.compat.v1.flags.doc_to_help(
        doc
    )