original_docstring: Builds the arguments for match options
docstring: Builds the arguments for match options
docstring_tokens: Builds the arguments for match options
code: def __build_match_opts(self) -> None:
          """Builds the arguments for match options"""
          match_opts = self.add_argument_group('Match options')
          match_opts.add_argument(
              '-Mc',
              action='store',
              dest='match_status',
              help=("Match responses based on their status codes. "
                    "Set a list of codes and/or a range, like: 200,300-400,401"),
              metavar='STATUS',
          )
          match_opts.add_argument(
              '-Mt',
              action='store',
              dest='match_time',
              help="Match responses based on their elapsed time (in seconds)",
              metavar='TIME',
          )
          match_opts.add_argument(
              '-Ms',
              action='store',
              dest='match_size',
              help="Match responses based on their body length (in bytes)",
              metavar='SIZE',
          )
          match_opts.add_argument(
              '-Mw',
              action='store',
              dest='match_words',
              help="Match responses based on their quantity of words on body",
              metavar='QTY_WORDS',
          )
          match_opts.add_argument(
              '-Ml',
              action='store',
              dest='match_lines',
              help="Match responses based on their quantity of lines on body",
              metavar='QTY_LINES',
          )
          match_opts.add_argument(
              '-Mr',
              action='store',
              dest='match_regex',
              help="Match responses based on a regex",
              metavar='REGEX',
          )
          match_opts.add_argument(
              '-Fc',
              action='store',
              dest='filter_status',
              help="Exclude responses based on status code(s), separated by comma if more than one",
              metavar='STATUS',
          )
          match_opts.add_argument(
              '-Fr',
              action='store',
              dest='filter_regex',
              help="Exclude responses based on a regex",
              metavar='REGEX',
          )
          match_opts.add_argument(
              '--scanner',
              action='append',
              dest='scanner',
              help="Define the custom scanner (--help=scanners for more info)",
              metavar='SCANNER',
          )
code_tokens: def __build_match_opts ( self ) -> None : match_opts = self . add_argument_group ( 'Match options' ) match_opts . add_argument ( '-Mc' , action = 'store' , dest = 'match_status' , help = ( "Match responses based on their status codes. " "Set a list of codes and/or a range, like: 200,300-400,401" ) , metavar = 'STATUS' , ) match_opts . add_argument ( '-Mt' , action = 'store' , dest = 'match_time' , help = "Match responses based on their elapsed time (in seconds)" , metavar = 'TIME' , ) match_opts . add_argument ( '-Ms' , action = 'store' , dest = 'match_size' , help = "Match responses based on their body length (in bytes)" , metavar = 'SIZE' , ) match_opts . add_argument ( '-Mw' , action = 'store' , dest = 'match_words' , help = "Match responses based on their quantity of words on body" , metavar = 'QTY_WORDS' , ) match_opts . add_argument ( '-Ml' , action = 'store' , dest = 'match_lines' , help = "Match responses based on their quantity of lines on body" , metavar = 'QTY_LINES' , ) match_opts . add_argument ( '-Mr' , action = 'store' , dest = 'match_regex' , help = "Match responses based on a regex" , metavar = 'REGEX' , ) match_opts . add_argument ( '-Fc' , action = 'store' , dest = 'filter_status' , help = "Exclude responses based on status code(s), separated by comma if more than one" , metavar = 'STATUS' , ) match_opts . add_argument ( '-Fr' , action = 'store' , dest = 'filter_regex' , help = "Exclude responses based on a regex" , metavar = 'REGEX' , ) match_opts . add_argument ( '--scanner' , action = 'append' , dest = 'scanner' , help = "Define the custom scanner (--help=scanners for more info)" , metavar = 'SCANNER' , )
short_docstring: Builds the arguments for match options
short_docstring_tokens: Builds the arguments for match options
comment: """Builds the arguments for match options"""