netdatacli remove/mark stale, swap order in help output (#20113)
Ilya Mashchenko committed
Apr 10, 2025 at 15:54 UTC
4da6596b269d3375ddf51dc35d455b3c8747c83f
1 file changed
+2
-2
src/daemon/commands.c
+2
-2
@@ -64,10 +64,10 @@ static command_info_t command_info_array[] = {
64
{"aclk-state", "[json]", "Returns current state of ACLK and Netdata Cloud connection. (optionally in json).", cmd_aclk_state, CMD_TYPE_ORTHOGONAL},
65
{"version", "", "Returns the netdata version.", cmd_version, CMD_TYPE_ORTHOGONAL},
66
{"dumpconfig", "", "Returns the current netdata.conf on stdout.", cmd_dumpconfig, CMD_TYPE_ORTHOGONAL},
67
+ {"mark-stale-nodes-ephemeral", "<node_id | machine_guid | hostname | ALL_NODES>",
68
+ "Marks one or all disconnected nodes as ephemeral, while keeping their retention\n available for queries on both this Netdata Agent dashboard and Netdata Cloud", cmd_mark_stale_nodes_ephemeral, CMD_TYPE_ORTHOGONAL},
69
{"remove-stale-node", "<node_id | machine_guid | hostname | ALL_NODES>",
70
"Marks one or all disconnected nodes as ephemeral, and removes them\n so that they are no longer available for queries, from both this\n Netdata Agent dashboard and Netdata Cloud.", cmd_remove_stale_node, CMD_TYPE_ORTHOGONAL},
69
- {"mark-stale-nodes-ephemeral", "<node_id | machine_guid | hostname | ALL_NODES>",
70
- "Marks one or all disconnected nodes as ephemeral, while keeping their retention\n available for queries on both this Netdata Agent dashboard and Netdata Cloud", cmd_mark_stale_nodes_ephemeral, CMD_TYPE_ORTHOGONAL},
71
};
72
73
/* Mutexes for commands of type CMD_TYPE_ORTHOGONAL */