feat: new short flag for RC upgrading

This commit is contained in:
decentral1se 2022-03-12 15:24:19 +01:00
parent cdec834ca9
commit e78b395662
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 4 deletions

View File

@ -116,9 +116,9 @@ This command allows you to upgrade Abra in-place with the latest stable or
release candidate.
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
some catastrophic bugs contained in it. In any case, thank you very much for
the testing efforts!
"-r/--rc" option. Please bear in mind that the latest release candidate may
have some catastrophic bugs contained in it. In any case, thank you very much
for the testing efforts!
`,
Flags: []cli.Flag{internal.RCFlag},
Action: func(c *cli.Context) error {

View File

@ -248,7 +248,7 @@ var RC bool
// RCFlag chooses the latest release candidate for install
var RCFlag = &cli.BoolFlag{
Name: "rc",
Name: "rc, r",
Destination: &RC,
Usage: "Insatll the latest release candidate",
}