Skip to content

Commit eb769e1

Browse files
authored
fix(internal/librarian): remove execute flag mentioning in release help (#3542)
`execute` flag is not implemented in code, removing misguiding documentation.
1 parent 44a1680 commit eb769e1

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

internal/librarian/release.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,15 @@ func releaseCommand() *cli.Command {
3838
return &cli.Command{
3939
Name: "release",
4040
Usage: "update versions and prepare release artifacts",
41-
UsageText: "librarian release [library] [--all] [--execute]",
41+
UsageText: "librarian release [library] [--all]",
4242
Description: `Release updates version numbers and prepares the files needed for a new release.
43-
Without --execute, the command prints the planned changes but does not modify the repository.
44-
45-
With --execute, the command writes updated files, creates tags, and pushes them.
4643
4744
If a library name is given, only that library is updated. The --all flag updates every
4845
library in the workspace.
4946
5047
Examples:
5148
librarian release <library> # show planned changes for one library
52-
librarian release --all # show planned changes for all libraries
53-
librarian release <library> --execute # apply changes and tag the release
54-
librarian release --all --execute`,
49+
librarian release --all # show planned changes for all libraries`,
5550
Flags: []cli.Flag{
5651
&cli.BoolFlag{
5752
Name: "all",

0 commit comments

Comments
 (0)