diff options
| author | Michael Vetter <jubalh@iodoru.org> | 2020-07-21 10:43:14 +0200 |
|---|---|---|
| committer | Michael Vetter <jubalh@iodoru.org> | 2020-07-21 10:45:29 +0200 |
| commit | 5a9f76c16aaf58cabb9cf9cb84479a5eec2a24b1 (patch) | |
| tree | 21ad6b72f1e6f03ea39fa40ef083c66c3452f9b5 /src/command | |
| parent | 0077d02c8682826a21852963fd4bf97beee9b105 (diff) | |
| download | profani-tty-5a9f76c16aaf58cabb9cf9cb84479a5eec2a24b1.tar.gz | |
parser.c: Use helper function to reduce duplicate code
`parse_args()` and `parse_args_with_freetext()` shared a lot of common
code.
Let's have a helper function `_parse_args_helper()` for that. The
`with_freetext` parameter will make it behave like
`parse_args_with_freetext()`.
In preparation for https://github.com/profanity-im/profanity/issues/1404
Diffstat (limited to 'src/command')
0 files changed, 0 insertions, 0 deletions