File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -825,18 +825,18 @@ Flags:
825
825
--format="text" Output formatter.
826
826
--version Show application version.
827
827
-s, --stage="staging" Target stage name.
828
- -r, --retain=60 Number of versions to retain.
828
+ -r, --retain=30 Number of versions to retain.
829
829
```
830
830
831
831
### Examples
832
832
833
- Prune and retain the most recent 15 staging versions.
833
+ Prune and retain the most recent 30 staging versions.
834
834
835
835
```
836
836
$ up prune
837
837
```
838
838
839
- Prune and retain the most recent 60 production versions.
839
+ Prune and retain the most recent 30 production versions.
840
840
841
841
```
842
842
$ up prune -s production
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import (
11
11
func init () {
12
12
cmd := root .Command ("prune" , "Prune old S3 deployments of a stage." )
13
13
14
- cmd .Example (`up prune` , "Prune and retain the most recent 15 staging versions." )
15
- cmd .Example (`up prune -s production` , "Prune and retain the most recent 60 production versions." )
14
+ cmd .Example (`up prune` , "Prune and retain the most recent 30 staging versions." )
15
+ cmd .Example (`up prune -s production` , "Prune and retain the most recent 30 production versions." )
16
16
cmd .Example (`up prune -s production -r 15` , "Prune and retain the most recent 15 production versions." )
17
17
18
18
stage := cmd .Flag ("stage" , "Target stage name." ).Short ('s' ).Default ("staging" ).String ()
19
- versions := cmd .Flag ("retain" , "Number of versions to retain." ).Short ('r' ).Default ("60 " ).Int ()
19
+ versions := cmd .Flag ("retain" , "Number of versions to retain." ).Short ('r' ).Default ("30 " ).Int ()
20
20
21
21
cmd .Action (func (_ * kingpin.ParseContext ) error {
22
22
c , p , err := root .Init ()
You can’t perform that action at this time.
0 commit comments