Skip to content

Commit 0ff4eb4

Browse files
authored
(DOCSP-41804) Document sort order for snapshots list commands (#28)
1 parent 7e8ee67 commit 0ff4eb4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

docs/command/mongocli-cloud-manager-backups-snapshots-list.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ mongocli cloud-manager backups snapshots list
1414

1515
List snapshots for a project and cluster.
1616

17+
Returns snapshots in order from newest to oldest retained snapshot.
18+
1719
Syntax
1820
------
1921

docs/command/mongocli-ops-manager-backups-snapshots-list.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ mongocli ops-manager backups snapshots list
1414

1515
List snapshots for a project and cluster.
1616

17+
Returns snapshots in order from newest to oldest retained snapshot.
18+
1719
Syntax
1820
------
1921

internal/cli/opsmanager/backup/snapshots/list.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func ListBuilder() *cobra.Command {
6363
cmd := &cobra.Command{
6464
Use: "list <clusterId>",
6565
Short: "List snapshots for a project and cluster.",
66+
Long: "Returns snapshots in order from newest to oldest retained snapshot.",
6667
Aliases: []string{"ls"},
6768
Args: require.ExactArgs(1),
6869
Annotations: map[string]string{

0 commit comments

Comments
 (0)