CLI: Reorder flags of cluster management commands

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-09 15:58:04 +02:00
parent 9d968ab357
commit 84cb9d9855
4 changed files with 28 additions and 9 deletions

View File

@@ -24,8 +24,11 @@ var ClusterNodesModCommand = &cli.Command{
Name: "mod",
Usage: "Updates node properties",
ArgsUsage: "<id|name>",
Flags: []cli.Flag{nodesModRoleFlag, nodesModInternal, nodesModLabel,
Flags: []cli.Flag{
DryRunFlag("preview updates without modifying the registry"),
nodesModRoleFlag,
nodesModInternal,
nodesModLabel,
YesFlag(),
},
Hidden: true, // Required for cluster-management only.