def add_parser_options(parser):
    """
    cmd.add_parser_options adds all our cmd-specific arguments to our own
    argument group. It gets called immediately after the import of the module.
    """
    modparser = parser.add_argument_group('Cmd Arguments', description=
        """Execute commands on all connected hosts. Shell will be prompted
   for commands by default"""
        )
    modparser.add_argument('-C', '--command', help=
        'Provide commands as an argument instead of being prompted',
        metavar='COMMAND', dest='command', action='append')
    modparser.add_argument('-NS', '--newline_split', help=
        'Split commands on newline(\\n) characters and send as seperate commands'
        , dest='newline_split', action='store_true')
    modparser.add_argument('-O', '--output_file', help=
        'Write output from all hosts to the same file', metavar='PATH',
        dest='output_file', action='append')
    modparser.add_argument('-P', '--per_host_output_file', help=
        'Write output from each host to a unique output file using Jinja2',
        metavar='JINJA2_PATH', dest='per_host_output_file', action='append')
