Removed short version of --keep-one-failed flag

This commit is contained in:
DavidMazarro 2022-02-07 13:21:59 +01:00
parent 6f02bbfce0
commit e2286dbdca
No known key found for this signature in database
GPG Key ID: 5B490A04990FAAB7
2 changed files with 4 additions and 4 deletions

View File

@ -81,10 +81,9 @@ deployParser = Deploy
) )
) )
<*> switch <*> switch
( long "keep-one-failed" ( long "keep-one-failed"
<> short 'o'
<> help "Keep all failed releases or just one -the latest-, default (without using this flag) is to keep all failed releases." <> help "Keep all failed releases or just one -the latest-, default (without using this flag) is to keep all failed releases."
) )
rollbackParser :: Parser Command rollbackParser :: Parser Command
rollbackParser = Rollback rollbackParser = Rollback

View File

@ -166,7 +166,8 @@ data Opts = Opts
data Command data Command
= Deploy (Maybe ReleaseFormat) (Maybe Natural) Bool -- ^ Deploy a new release (with timestamp = Deploy (Maybe ReleaseFormat) (Maybe Natural) Bool -- ^ Deploy a new release (with timestamp
-- format and how many releases to keep) -- format, how many releases to keep, and whether the failed releases except the latest one
-- get deleted or not)
| Rollback Natural -- ^ Rollback to Nth previous release | Rollback Natural -- ^ Rollback to Nth previous release