Skip to content

Commit

Permalink
command list: increase --per-page limit from 20 to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Jan 2, 2024
1 parent 5f7d324 commit 2d320f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime_backup/mcdr/command/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def make_list_cmd() -> Literal:
node = create_subcommand('list')
node.runs(self.cmd_list)
node.then(Integer('page').at_min(1).redirects(node))
node.then(Literal('--per-page').then(Integer('per_page').in_range(1, 20).redirects(node)))
node.then(Literal('--per-page').then(Integer('per_page').in_range(1, 1000).redirects(node)))
node.then(Literal('--creator').then(QuotableText('creator').redirects(node)))
node.then(Literal('--from').then(DateNode('start_date').redirects(node)))
node.then(Literal('--to').then(DateNode('end_date').redirects(node)))
Expand Down

0 comments on commit 2d320f2

Please sign in to comment.