diff options
author | Thomas Haller <thaller@redhat.com> | 2021-07-09 16:00:17 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-07-09 16:41:31 +0200 |
commit | a09ade23e157e15411377e776538d57815d4164d (patch) | |
tree | c1954912427ae3a89be46fe6b6801c0afb081930 | |
parent | 6f3b2dbf6f2289ed1d00e51696dbb4f038457d1c (diff) | |
download | NetworkManager-a09ade23e157e15411377e776538d57815d4164d.tar.gz |
cli: reorder command list in nmc_command_func_device()
Sort asciibetically, at least as long as there is no conflicting
prefix that should be preferred.
-rw-r--r-- | src/nmcli/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nmcli/devices.c b/src/nmcli/devices.c index caee8358c7..33be4e7a6d 100644 --- a/src/nmcli/devices.c +++ b/src/nmcli/devices.c @@ -5029,8 +5029,8 @@ nmc_command_func_device(const NMCCommand *cmd, NmCli *nmc, int argc, const char {"modify", do_device_modify, usage_device_modify, TRUE, TRUE}, {"reapply", do_device_reapply, usage_device_reapply, TRUE, TRUE}, {"status", do_devices_status, usage_device_status, TRUE, TRUE}, - {"show", do_device_show, usage_device_show, TRUE, TRUE}, {"set", do_device_set, usage_device_set, TRUE, TRUE}, + {"show", do_device_show, usage_device_show, TRUE, TRUE}, {"up", do_device_connect, usage_device_connect, TRUE, TRUE}, {"wifi", do_device_wifi, usage_device_wifi, FALSE, FALSE}, {NULL, do_devices_status, usage, TRUE, TRUE}, |