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:
@@ -20,10 +20,10 @@ var ClusterNodesRemoveCommand = &cli.Command{
|
||||
Usage: "Deletes a node from the registry",
|
||||
ArgsUsage: "<id|name>",
|
||||
Flags: []cli.Flag{
|
||||
YesFlag(),
|
||||
&cli.BoolFlag{Name: "all-ids", Usage: "delete all records that share the same UUID (admin cleanup)"},
|
||||
&cli.BoolFlag{Name: "drop-db", Aliases: []string{"d"}, Usage: "drop the node’s provisioned database and user after registry deletion"},
|
||||
DryRunFlag("preview deletion without modifying the registry or database"),
|
||||
&cli.BoolFlag{Name: "drop-db", Aliases: []string{"d"}, Usage: "drop the node’s provisioned database and user after registry deletion"},
|
||||
&cli.BoolFlag{Name: "all-ids", Usage: "delete all records that share the same UUID (admin cleanup)"},
|
||||
YesFlag(),
|
||||
},
|
||||
Hidden: true, // Required for cluster-management only.
|
||||
Action: clusterNodesRemoveAction,
|
||||
|
||||
Reference in New Issue
Block a user