Fix identity manager argument naming style (LP# 1235667)

Conform to GNU standards: use hyphens instead of mixed-case
Fix error when unknown option is specified.
Parse options (including --help) in headless mode (LP #1235662)