]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tools: vshCommandArgvGetArg: one parameter per line
authorJán Tomko <jtomko@redhat.com>
Fri, 18 Oct 2019 22:12:53 +0000 (00:12 +0200)
committerJán Tomko <jtomko@redhat.com>
Sun, 20 Oct 2019 12:37:16 +0000 (14:37 +0200)
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>
tools/vsh.c

index ee675a63cc2e7d39661aab4a9a091c20c181b50f..fccd4cd36d13acd8b060359dd0ec85da652dfe01 100644 (file)
@@ -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) {