From 438f52b459bbc53ee42d1e6ea64315649d110895 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 5 Apr 2022 13:43:27 +0200 Subject: [PATCH] nmcli/trivial: consistently order the options in process_command_line() Make the order of nmc_complete_strings() arguments consistent with the multi-way conditional below. Doesn't have any effect, just ensures the ommisions and mistakes are hopefully easier to spot. --- src/nmcli/nmcli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nmcli/nmcli.c b/src/nmcli/nmcli.c index 96b8ec4a13..c62b6974ed 100644 --- a/src/nmcli/nmcli.c +++ b/src/nmcli/nmcli.c @@ -761,15 +761,15 @@ process_command_line(NmCli *nmc, int argc, char **argv_orig) if (argc == 1 && nmc->complete) { nmc_complete_strings(argv[0], + "--overview", "--terse", "--pretty", "--mode", - "--overview", "--colors", "--escape", "--fields", - "--nocheck", "--get-values", + "--nocheck", "--wait", "--version", "--help");