feat: new short flag for RC upgrading
This commit is contained in:
parent
cdec834ca9
commit
e78b395662
|
@ -116,9 +116,9 @@ This command allows you to upgrade Abra in-place with the latest stable or
|
||||||
release candidate.
|
release candidate.
|
||||||
|
|
||||||
If you would like to install the latest release candidate, please pass the
|
If you would like to install the latest release candidate, please pass the
|
||||||
"--rc" option. Please bear in mind that the latest release candidate may have
|
"-r/--rc" option. Please bear in mind that the latest release candidate may
|
||||||
some catastrophic bugs contained in it. In any case, thank you very much for
|
have some catastrophic bugs contained in it. In any case, thank you very much
|
||||||
the testing efforts!
|
for the testing efforts!
|
||||||
`,
|
`,
|
||||||
Flags: []cli.Flag{internal.RCFlag},
|
Flags: []cli.Flag{internal.RCFlag},
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
|
|
|
@ -248,7 +248,7 @@ var RC bool
|
||||||
|
|
||||||
// RCFlag chooses the latest release candidate for install
|
// RCFlag chooses the latest release candidate for install
|
||||||
var RCFlag = &cli.BoolFlag{
|
var RCFlag = &cli.BoolFlag{
|
||||||
Name: "rc",
|
Name: "rc, r",
|
||||||
Destination: &RC,
|
Destination: &RC,
|
||||||
Usage: "Insatll the latest release candidate",
|
Usage: "Insatll the latest release candidate",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue