mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
CLI: Reorder flags of cluster management commands
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user