This puts the numbered options together and in order. As a bonus, it
suppresses clang-tidy's rather stupid warning about identical switch
branches.
Signed-off-by: David Gibson
---
conf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/conf.c b/conf.c
index 7a5ff8b5..78b752a8 100644
--- a/conf.c
+++ b/conf.c
@@ -1584,6 +1584,9 @@ void conf(struct ctx *c, int argc, char **argv)
case 26:
vu_print_capabilities();
break;
+ case 27:
+ /* Handle this once we checked --vhost-user */
+ break;
case 'd':
c->debug = 1;
c->quiet = 0;
@@ -1774,9 +1777,6 @@ void conf(struct ctx *c, int argc, char **argv)
case 'D':
/* Handle these later, once addresses are configured */
break;
- case 27:
- /* Handle this once we checked --vhost-user */
- break;
case 'h':
usage(argv[0], stdout, EXIT_SUCCESS);
break;
--
2.48.1