Re: [PATCH v4 2/2] MI: Add new command -complete

Eli Zaretskii
2019-04-18T12:51:18Z

> From: Jan Vrany <jan.vrany@fit.cvut.cz>
> Cc: Jan Vrany <jan.vrany@fit.cvut.cz>
> Date: Thu, 18 Apr 2019 12:58:47 +0100
>
> +The result consists of two one or two fields:
^^^^^^^^^^^^^^
A typo.

> +@smallexample
> +(gdb)
> +-complete br
> +^done,completion="break",matches=["break","break-range"],max_completions_reached="0"
> +(gdb)
> +-complete "b ma"
> +^done,completion="b ma",matches=["b madvise","b main"],max_completions_reached="0"
> +(gdb)
> +-complete "b push_b"
> +^done,completion="b push_back(",
> + matches=["b A::push_back(void*)",
> + "b std::string::push_back(char)",
> + "b std::vector<int, std::allocator<int> >::push_back(int&&)"],
> + max_completions_reached="0"

The "done" lines are too long, please break them into lines shorter
than 70 characters.

Otherwise, the documentation parts are OK.

Thanks.