Project

General

Profile

Actions

Bug #23881

closed

hammer recurring-logic list command does not accept options --per-page or --page but suggests those option

Added by Adam Ruzicka almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Foreman plugin
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Additional info:
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.
___________________________________
  1. hammer recurring-logic list -h
    Usage:
    hammer recurring-logic list [OPTIONS]

Options:
-h, --help print help
___________________________________

Actions #1

Updated by Adam Ruzicka almost 6 years ago

  • Category set to Foreman plugin
  • Assignee set to Adam Ruzicka
Actions #2

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
Actions #3

Updated by Adam Ruzicka almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF