We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
DefaultArgParser: Fix spelling mistake
Change analaysis on line 30 to analysis


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `coalib/parsing/DefaultArgParser.py`
Content:
```
1 import argparse
2 import sys
3 
4 from coalib.misc import Constants
5 
6 
7 def default_arg_parser(formatter_class=None):
8     """
9     This function creates an ArgParser to parse command line arguments.
10 
11     :param formatter_class: Formatting the arg_parser output into a specific
12                             form. For example: In the manpage format.
13     """
14     formatter_class = formatter_class or argparse.RawDescriptionHelpFormatter
15 
16     entry_point = sys.argv[0]
17     for entry in ['coala-ci', 'coala-dbus', 'coala-format', 'coala-json',
18                   'coala-delete-orig']:
19         if entry_point.endswith(entry):
20             parser_type = entry
21             break
22     else:
23         parser_type = 'coala'
24 
25     arg_parser = argparse.ArgumentParser(
26         formatter_class=formatter_class,
27         prog="coala",
28         description="coala is a simple COde AnaLysis Application. Its goal "
29                     "is to make static code analysis easy and convenient "
30                     "for all languages. coala uses bears, which are analaysis "
31                     "routines that can be combined arbitrarily.")
32 
33     arg_parser.add_argument('TARGETS',
34                             nargs='*',
35                             help="Sections to be executed exclusively.")
36     arg_parser.add_argument('-c',
37                             '--config',
38                             nargs=1,
39                             metavar='FILE',
40                             help='Configuration file to be used, defaults to '
41                                  + repr(Constants.default_coafile))
42     FIND_CONFIG_HELP = ('Attempt to find config file by checking parent '
43                         'directories of the current working directory. It is '
44                         'assumed that the config file is named '
45                         + repr(Constants.default_coafile) + '. This arg is '
46                         'ignored if --config is also given')
47     arg_parser.add_argument('-F',
48                             '--find-config',
49                             nargs='?',
50                             const=True,
51                             metavar='BOOL',
52                             help=FIND_CONFIG_HELP)
53     arg_parser.add_argument('-f',
54                             '--files',
55                             nargs='+',
56                             metavar='FILE',
57                             help='Files that should be checked')
58     arg_parser.add_argument('-i',
59                             '--ignore',
60                             nargs='+',
61                             metavar='FILE',
62                             help='Files that should be ignored')
63     arg_parser.add_argument('--limit-files',
64                             nargs='+',
65                             metavar='FILE',
66                             help='Files that will be analyzed will be '
67                                  'restricted to those in the globs listed '
68                                  'in this argument as well the files setting')
69     arg_parser.add_argument('-b',
70                             '--bears',
71                             nargs='+',
72                             metavar='NAME',
73                             help='Names of bears to use')
74     BEAR_DIRS_HELP = 'Additional directories where bears may lie'
75     arg_parser.add_argument('-d',
76                             '--bear-dirs',
77                             nargs='+',
78                             metavar='DIR',
79                             help=BEAR_DIRS_HELP)
80     LOG_LEVEL_HELP = ("Enum('ERROR','INFO','WARNING','DEBUG') to set level of "
81                       "log output")
82     arg_parser.add_argument('-L',
83                             '--log-level',
84                             nargs=1,
85                             choices=['ERROR', 'INFO', 'WARNING', 'DEBUG'],
86                             metavar='ENUM',
87                             help=LOG_LEVEL_HELP)
88     MIN_SEVERITY_HELP = ("Enum('INFO', 'NORMAL', 'MAJOR') to set the minimal "
89                          "result severity.")
90     arg_parser.add_argument('-m',
91                             '--min-severity',
92                             nargs=1,
93                             choices=('INFO', 'NORMAL', 'MAJOR'),
94                             metavar='ENUM',
95                             help=MIN_SEVERITY_HELP)
96     SETTINGS_HELP = 'Arbitrary settings in the form of section.key=value'
97     arg_parser.add_argument('-S',
98                             '--settings',
99                             nargs='+',
100                             metavar='SETTING',
101                             help=SETTINGS_HELP)
102     if parser_type == 'coala-json':
103         arg_parser.add_argument('--text-logs',
104                                 nargs='?',
105                                 const=True,
106                                 metavar='BOOL',
107                                 help='Don\'t display logs as json, display '
108                                      'them as we normally do in the console.')
109     if parser_type == 'coala':
110         SHOW_BEARS_HELP = ("Display bears and its metadata with the sections "
111                            "that they belong to")
112         arg_parser.add_argument('-B',
113                                 '--show-bears',
114                                 nargs='?',
115                                 const=True,
116                                 metavar='BOOL',
117                                 help=SHOW_BEARS_HELP)
118         arg_parser.add_argument('-A',
119                                 '--show-all-bears',
120                                 nargs='?',
121                                 const=True,
122                                 metavar='BOOL',
123                                 help="Display all bears.")
124     SAVE_HELP = ('Filename of file to be saved to, if provided with no '
125                  'arguments, settings will be stored back to the file given '
126                  'by -c')
127     arg_parser.add_argument('-s',
128                             '--save',
129                             nargs='?',
130                             const=True,
131                             metavar='FILE',
132                             help=SAVE_HELP)
133     TAG_HELP = ('Tag results with a specific name. You can access the results'
134                 ' later with that tag.')
135     arg_parser.add_argument('-t',
136                             '--tag',
137                             nargs='?',
138                             const=True,
139                             metavar='STRING',
140                             help=TAG_HELP)
141 
142     DELETE_TAG_HELP = 'Delete pre-tagged results with tag name.'
143     arg_parser.add_argument('-g',
144                             '--dtag',
145                             nargs='?',
146                             const=True,
147                             metavar='STRING',
148                             help=DELETE_TAG_HELP)
149 
150     arg_parser.add_argument("-j",
151                             "--jobs",
152                             type=int,
153                             help="Number of jobs to use in parallel.")
154 
155     arg_parser.add_argument('-v',
156                             '--version',
157                             action='version',
158                             version=Constants.VERSION)
159 
160     arg_parser.add_argument('-n',
161                             '--no-orig',
162                             nargs='?',
163                             const=True,
164                             help="Deactivate creation of .orig files,"
165                                  ".orig backup files before applying patches")
166 
167     return arg_parser
168
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/coalib/parsing/DefaultArgParser.py b/coalib/parsing/DefaultArgParser.py
--- a/coalib/parsing/DefaultArgParser.py
+++ b/coalib/parsing/DefaultArgParser.py
@@ -27,7 +27,7 @@
         prog="coala",
         description="coala is a simple COde AnaLysis Application. Its goal "
                     "is to make static code analysis easy and convenient "
-                    "for all languages. coala uses bears, which are analaysis "
+                    "for all languages. coala uses bears, which are analysis "
                     "routines that can be combined arbitrarily.")
 
     arg_parser.add_argument('TARGETS',

{"golden_diff": "diff --git a/coalib/parsing/DefaultArgParser.py b/coalib/parsing/DefaultArgParser.py\n--- a/coalib/parsing/DefaultArgParser.py\n+++ b/coalib/parsing/DefaultArgParser.py\n@@ -27,7 +27,7 @@\n         prog=\"coala\",\n         description=\"coala is a simple COde AnaLysis Application. Its goal \"\n                     \"is to make static code analysis easy and convenient \"\n-                    \"for all languages. coala uses bears, which are analaysis \"\n+                    \"for all languages. coala uses bears, which are analysis \"\n                     \"routines that can be combined arbitrarily.\")\n \n     arg_parser.add_argument('TARGETS',\n", "issue": "DefaultArgParser: Fix spelling mistake\nChange analaysis on line 30 to analysis\n\n", "before_files": [{"content": "import argparse\nimport sys\n\nfrom coalib.misc import Constants\n\n\ndef default_arg_parser(formatter_class=None):\n    \"\"\"\n    This function creates an ArgParser to parse command line arguments.\n\n    :param formatter_class: Formatting the arg_parser output into a specific\n                            form. For example: In the manpage format.\n    \"\"\"\n    formatter_class = formatter_class or argparse.RawDescriptionHelpFormatter\n\n    entry_point = sys.argv[0]\n    for entry in ['coala-ci', 'coala-dbus', 'coala-format', 'coala-json',\n                  'coala-delete-orig']:\n        if entry_point.endswith(entry):\n            parser_type = entry\n            break\n    else:\n        parser_type = 'coala'\n\n    arg_parser = argparse.ArgumentParser(\n        formatter_class=formatter_class,\n        prog=\"coala\",\n        description=\"coala is a simple COde AnaLysis Application. Its goal \"\n                    \"is to make static code analysis easy and convenient \"\n                    \"for all languages. coala uses bears, which are analaysis \"\n                    \"routines that can be combined arbitrarily.\")\n\n    arg_parser.add_argument('TARGETS',\n                            nargs='*',\n                            help=\"Sections to be executed exclusively.\")\n    arg_parser.add_argument('-c',\n                            '--config',\n                            nargs=1,\n                            metavar='FILE',\n                            help='Configuration file to be used, defaults to '\n                                 + repr(Constants.default_coafile))\n    FIND_CONFIG_HELP = ('Attempt to find config file by checking parent '\n                        'directories of the current working directory. It is '\n                        'assumed that the config file is named '\n                        + repr(Constants.default_coafile) + '. This arg is '\n                        'ignored if --config is also given')\n    arg_parser.add_argument('-F',\n                            '--find-config',\n                            nargs='?',\n                            const=True,\n                            metavar='BOOL',\n                            help=FIND_CONFIG_HELP)\n    arg_parser.add_argument('-f',\n                            '--files',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that should be checked')\n    arg_parser.add_argument('-i',\n                            '--ignore',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that should be ignored')\n    arg_parser.add_argument('--limit-files',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that will be analyzed will be '\n                                 'restricted to those in the globs listed '\n                                 'in this argument as well the files setting')\n    arg_parser.add_argument('-b',\n                            '--bears',\n                            nargs='+',\n                            metavar='NAME',\n                            help='Names of bears to use')\n    BEAR_DIRS_HELP = 'Additional directories where bears may lie'\n    arg_parser.add_argument('-d',\n                            '--bear-dirs',\n                            nargs='+',\n                            metavar='DIR',\n                            help=BEAR_DIRS_HELP)\n    LOG_LEVEL_HELP = (\"Enum('ERROR','INFO','WARNING','DEBUG') to set level of \"\n                      \"log output\")\n    arg_parser.add_argument('-L',\n                            '--log-level',\n                            nargs=1,\n                            choices=['ERROR', 'INFO', 'WARNING', 'DEBUG'],\n                            metavar='ENUM',\n                            help=LOG_LEVEL_HELP)\n    MIN_SEVERITY_HELP = (\"Enum('INFO', 'NORMAL', 'MAJOR') to set the minimal \"\n                         \"result severity.\")\n    arg_parser.add_argument('-m',\n                            '--min-severity',\n                            nargs=1,\n                            choices=('INFO', 'NORMAL', 'MAJOR'),\n                            metavar='ENUM',\n                            help=MIN_SEVERITY_HELP)\n    SETTINGS_HELP = 'Arbitrary settings in the form of section.key=value'\n    arg_parser.add_argument('-S',\n                            '--settings',\n                            nargs='+',\n                            metavar='SETTING',\n                            help=SETTINGS_HELP)\n    if parser_type == 'coala-json':\n        arg_parser.add_argument('--text-logs',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help='Don\\'t display logs as json, display '\n                                     'them as we normally do in the console.')\n    if parser_type == 'coala':\n        SHOW_BEARS_HELP = (\"Display bears and its metadata with the sections \"\n                           \"that they belong to\")\n        arg_parser.add_argument('-B',\n                                '--show-bears',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help=SHOW_BEARS_HELP)\n        arg_parser.add_argument('-A',\n                                '--show-all-bears',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help=\"Display all bears.\")\n    SAVE_HELP = ('Filename of file to be saved to, if provided with no '\n                 'arguments, settings will be stored back to the file given '\n                 'by -c')\n    arg_parser.add_argument('-s',\n                            '--save',\n                            nargs='?',\n                            const=True,\n                            metavar='FILE',\n                            help=SAVE_HELP)\n    TAG_HELP = ('Tag results with a specific name. You can access the results'\n                ' later with that tag.')\n    arg_parser.add_argument('-t',\n                            '--tag',\n                            nargs='?',\n                            const=True,\n                            metavar='STRING',\n                            help=TAG_HELP)\n\n    DELETE_TAG_HELP = 'Delete pre-tagged results with tag name.'\n    arg_parser.add_argument('-g',\n                            '--dtag',\n                            nargs='?',\n                            const=True,\n                            metavar='STRING',\n                            help=DELETE_TAG_HELP)\n\n    arg_parser.add_argument(\"-j\",\n                            \"--jobs\",\n                            type=int,\n                            help=\"Number of jobs to use in parallel.\")\n\n    arg_parser.add_argument('-v',\n                            '--version',\n                            action='version',\n                            version=Constants.VERSION)\n\n    arg_parser.add_argument('-n',\n                            '--no-orig',\n                            nargs='?',\n                            const=True,\n                            help=\"Deactivate creation of .orig files,\"\n                                 \".orig backup files before applying patches\")\n\n    return arg_parser\n", "path": "coalib/parsing/DefaultArgParser.py"}], "after_files": [{"content": "import argparse\nimport sys\n\nfrom coalib.misc import Constants\n\n\ndef default_arg_parser(formatter_class=None):\n    \"\"\"\n    This function creates an ArgParser to parse command line arguments.\n\n    :param formatter_class: Formatting the arg_parser output into a specific\n                            form. For example: In the manpage format.\n    \"\"\"\n    formatter_class = formatter_class or argparse.RawDescriptionHelpFormatter\n\n    entry_point = sys.argv[0]\n    for entry in ['coala-ci', 'coala-dbus', 'coala-format', 'coala-json',\n                  'coala-delete-orig']:\n        if entry_point.endswith(entry):\n            parser_type = entry\n            break\n    else:\n        parser_type = 'coala'\n\n    arg_parser = argparse.ArgumentParser(\n        formatter_class=formatter_class,\n        prog=\"coala\",\n        description=\"coala is a simple COde AnaLysis Application. Its goal \"\n                    \"is to make static code analysis easy and convenient \"\n                    \"for all languages. coala uses bears, which are analysis \"\n                    \"routines that can be combined arbitrarily.\")\n\n    arg_parser.add_argument('TARGETS',\n                            nargs='*',\n                            help=\"Sections to be executed exclusively.\")\n    arg_parser.add_argument('-c',\n                            '--config',\n                            nargs=1,\n                            metavar='FILE',\n                            help='Configuration file to be used, defaults to '\n                                 + repr(Constants.default_coafile))\n    FIND_CONFIG_HELP = ('Attempt to find config file by checking parent '\n                        'directories of the current working directory. It is '\n                        'assumed that the config file is named '\n                        + repr(Constants.default_coafile) + '. This arg is '\n                        'ignored if --config is also given')\n    arg_parser.add_argument('-F',\n                            '--find-config',\n                            nargs='?',\n                            const=True,\n                            metavar='BOOL',\n                            help=FIND_CONFIG_HELP)\n    arg_parser.add_argument('-f',\n                            '--files',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that should be checked')\n    arg_parser.add_argument('-i',\n                            '--ignore',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that should be ignored')\n    arg_parser.add_argument('--limit-files',\n                            nargs='+',\n                            metavar='FILE',\n                            help='Files that will be analyzed will be '\n                                 'restricted to those in the globs listed '\n                                 'in this argument as well the files setting')\n    arg_parser.add_argument('-b',\n                            '--bears',\n                            nargs='+',\n                            metavar='NAME',\n                            help='Names of bears to use')\n    BEAR_DIRS_HELP = 'Additional directories where bears may lie'\n    arg_parser.add_argument('-d',\n                            '--bear-dirs',\n                            nargs='+',\n                            metavar='DIR',\n                            help=BEAR_DIRS_HELP)\n    LOG_LEVEL_HELP = (\"Enum('ERROR','INFO','WARNING','DEBUG') to set level of \"\n                      \"log output\")\n    arg_parser.add_argument('-L',\n                            '--log-level',\n                            nargs=1,\n                            choices=['ERROR', 'INFO', 'WARNING', 'DEBUG'],\n                            metavar='ENUM',\n                            help=LOG_LEVEL_HELP)\n    MIN_SEVERITY_HELP = (\"Enum('INFO', 'NORMAL', 'MAJOR') to set the minimal \"\n                         \"result severity.\")\n    arg_parser.add_argument('-m',\n                            '--min-severity',\n                            nargs=1,\n                            choices=('INFO', 'NORMAL', 'MAJOR'),\n                            metavar='ENUM',\n                            help=MIN_SEVERITY_HELP)\n    SETTINGS_HELP = 'Arbitrary settings in the form of section.key=value'\n    arg_parser.add_argument('-S',\n                            '--settings',\n                            nargs='+',\n                            metavar='SETTING',\n                            help=SETTINGS_HELP)\n    if parser_type == 'coala-json':\n        arg_parser.add_argument('--text-logs',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help='Don\\'t display logs as json, display '\n                                     'them as we normally do in the console.')\n    if parser_type == 'coala':\n        SHOW_BEARS_HELP = (\"Display bears and its metadata with the sections \"\n                           \"that they belong to\")\n        arg_parser.add_argument('-B',\n                                '--show-bears',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help=SHOW_BEARS_HELP)\n        arg_parser.add_argument('-A',\n                                '--show-all-bears',\n                                nargs='?',\n                                const=True,\n                                metavar='BOOL',\n                                help=\"Display all bears.\")\n    SAVE_HELP = ('Filename of file to be saved to, if provided with no '\n                 'arguments, settings will be stored back to the file given '\n                 'by -c')\n    arg_parser.add_argument('-s',\n                            '--save',\n                            nargs='?',\n                            const=True,\n                            metavar='FILE',\n                            help=SAVE_HELP)\n    TAG_HELP = ('Tag results with a specific name. You can access the results'\n                ' later with that tag.')\n    arg_parser.add_argument('-t',\n                            '--tag',\n                            nargs='?',\n                            const=True,\n                            metavar='STRING',\n                            help=TAG_HELP)\n\n    DELETE_TAG_HELP = 'Delete pre-tagged results with tag name.'\n    arg_parser.add_argument('-g',\n                            '--dtag',\n                            nargs='?',\n                            const=True,\n                            metavar='STRING',\n                            help=DELETE_TAG_HELP)\n\n    arg_parser.add_argument(\"-j\",\n                            \"--jobs\",\n                            type=int,\n                            help=\"Number of jobs to use in parallel.\")\n\n    arg_parser.add_argument('-v',\n                            '--version',\n                            action='version',\n                            version=Constants.VERSION)\n\n    arg_parser.add_argument('-n',\n                            '--no-orig',\n                            nargs='?',\n                            const=True,\n                            help=\"Deactivate creation of .orig files,\"\n                                 \".orig backup files before applying patches\")\n\n    return arg_parser\n", "path": "coalib/parsing/DefaultArgParser.py"}]}