mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-27 05:53:30 +03:00
Removed short version of --keep-one-failed
flag
This commit is contained in:
parent
6f02bbfce0
commit
e2286dbdca
@ -81,10 +81,9 @@ deployParser = Deploy
|
||||
)
|
||||
)
|
||||
<*> switch
|
||||
( long "keep-one-failed"
|
||||
<> short 'o'
|
||||
( long "keep-one-failed"
|
||||
<> 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 = Rollback
|
||||
|
@ -166,7 +166,8 @@ data Opts = Opts
|
||||
|
||||
data Command
|
||||
= 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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user