Code style fixes.
Resolve string to an option's short and long name.
Use Option.toString() instead of Option.getKey().
Rename cmd to commandLine.
Fix code style.
Code style fix: improve readability.
Include name in descriptor's string representation + simplify implementation.