docs: more clarity on prune functionality

This commit is contained in:
2023-02-17 11:00:02 +01:00
parent 98fc36c830
commit 4dbe1362a8

View File

@ -87,9 +87,12 @@ var appUndeployCommand = cli.Command{
Usage: "Undeploy an app",
BashComplete: autocomplete.AppNameComplete,
Description: `
This does not destroy any of the application data. However, you should remain
vigilant, as your swarm installation will consider any previously attached
volumes as eligible for pruning once undeployed.
This does not destroy any of the application data.
However, you should remain vigilant, as your swarm installation will consider
any previously attached volumes as eligible for pruning once undeployed.
Passing "-p/--prune" does not remove those volumes.
`,
Action: func(c *cli.Context) error {
app := internal.ValidateApp(c)