mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
tools: vshCommandArgvGetArg: one parameter per line
Split the parameters to make changes more readable. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
fc941b2c54
commit
df329e94cb
@ -1644,7 +1644,9 @@ vshCommandParse(vshControl *ctl, vshCommandParser *parser, vshCmd **partial)
|
||||
*/
|
||||
|
||||
static vshCommandToken ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3)
|
||||
vshCommandArgvGetArg(vshControl *ctl, vshCommandParser *parser, char **res,
|
||||
vshCommandArgvGetArg(vshControl *ctl,
|
||||
vshCommandParser *parser,
|
||||
char **res,
|
||||
bool report G_GNUC_UNUSED)
|
||||
{
|
||||
if (parser->arg_pos == parser->arg_end) {
|
||||
|
Loading…
Reference in New Issue
Block a user