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", Usage: "Undeploy an app",
BashComplete: autocomplete.AppNameComplete, BashComplete: autocomplete.AppNameComplete,
Description: ` Description: `
This does not destroy any of the application data. However, you should remain This does not destroy any of the application data.
vigilant, as your swarm installation will consider any previously attached
volumes as eligible for pruning once undeployed. 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 { Action: func(c *cli.Context) error {
app := internal.ValidateApp(c) app := internal.ValidateApp(c)