Skip to content

Commit

Permalink
CLI: improve purge documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fvennetier committed Mar 6, 2018
1 parent 3463ad2 commit bdfed02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion oio/cli/container/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def get_parser(self, prog_name):
metavar='<n>',
type=int,
help="""The number of versions to keep
(override the container configuration).
(overrides the container configuration).
n<0 is unlimited number of versions (purge only deleted aliases).
n=0 is 1 version.
n>0 is n versions.
Expand Down
6 changes: 3 additions & 3 deletions oio/cli/object/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,12 @@ def get_parser(self, prog_name):
parser = super(PurgeObject, self).get_parser(prog_name)
self.patch_parser(parser)
parser.add_argument(
'--max-versions', '--versioning',
'--max-versions',
metavar='<n>',
type=int,
help="""The number of versions to keep
(override the container configuration).
n<0 is unlimited number of versions.
(overrides the container configuration).
n<0 is unlimited number of versions (purge only deleted aliases).
n=0 is 1 version.
n>0 is n versions.
"""
Expand Down

0 comments on commit bdfed02

Please sign in to comment.