Added option --list to list targets.
Removed unnecessary character escape sequences.
Refactoring: Unified command option variable names.