Bug #23881
closedhammer recurring-logic list command does not accept options --per-page or --page but suggests those option
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1583318
Description of problem:
hammer recurring-logic list command does not accept options --per-page or --page but suggests them when there are more number of output rows
Version-Release number of selected component (if applicable):
Satellite 6.3
How reproducible:
Always
Steps to Reproduce:
1. Have more number of recurring logics, let say more than 15
2. Try to list them using below command:
_______________________
# hammer recurring-logic list
_______________________
o/p:
______________________________________________________________
---|-------------|----------|-----------|----------
ID | CRON LINE | END TIME | ITERATION | STATE
---|-------------|----------|-----------|----------
// some output rows will be displayed here followed by below message
---|-------------|----------|-----------|----------
Page 1 of 6 (use --page and --per-page for navigation)
______________________________________________________________
3.Now use either of the options mentioned:
____________________________________
# hammer recurring-logic list --per-page 20
Error: Unrecognised option '--per-page'
See: 'hammer recurring-logic list --help'
____________________________________
Actual results:
hammer command is not accepting the mentioned option and giving below error:
____________________________________
Error: Unrecognised option '--per-page'
See: 'hammer recurring-logic list --help'
____________________________________
Expected results:
Either those options should be accepted by the command or if not then the message should be removed that suggests to run those options.
After checking the possible options with --help, it did not give any such options so it seems to me that no such option exists there at the moment.
___________________________________
- hammer recurring-logic list -h
Usage:
hammer recurring-logic list [OPTIONS]
Options:
-h, --help print help
___________________________________
Updated by Adam Ruzicka almost 6 years ago
- Category set to Foreman plugin
- Assignee set to Adam Ruzicka
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/346 added
Updated by Adam Ruzicka almost 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e6dccacb346afccc3d493e8f329169653a074303.