add the [OPTIONS] string automatically if there are flags defined

Signed-off-by: SvenDowideit <SvenDowideit@home.org.au>

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
Merge pull request #7708 from SvenDowideit/programatic-usage-options

add the [OPTIONS] string automatically if there are flags defined