summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-07-09 16:01:29 +0200
committerThomas Haller <thaller@redhat.com>2021-07-09 16:01:54 +0200
commit69cb2b3f24a0352560f867b3e20c12a9c4c32194 (patch)
treed73eb2792d5ae26577b26743c8a5f76486b61ecd
parent5cd1b2669d9ee2039185f6307b5623ef2837131c (diff)
downloadNetworkManager-69cb2b3f24a0352560f867b3e20c12a9c4c32194.tar.gz
cli: fix list of commands in nmc_command_func_device()
-rw-r--r--src/nmcli/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c
index aa09c81174..2eb70068ad 100644
--- a/src/nmcli/devices.c
+++ b/src/nmcli/devices.c
@@ -5031,9 +5031,9 @@ nmc_command_func_device(const NMCCommand *cmd, NmCli *nmc, int argc, const char
{"wifi", do_device_wifi, usage_device_wifi, FALSE, FALSE},
{"lldp", do_device_lldp, usage_device_lldp, FALSE, FALSE},
{"modify", do_device_modify, usage_device_modify, TRUE, TRUE},
- {NULL, do_devices_status, usage, TRUE, TRUE},
{"up", do_device_connect, usage_device_connect, TRUE, TRUE},
{"down", do_devices_disconnect, usage_device_disconnect, TRUE, TRUE},
+ {NULL, do_devices_status, usage, TRUE, TRUE},
};
next_arg(nmc, &argc, &argv, NULL);