Skip to content

Commit

Permalink
Use pager for show output
Browse files Browse the repository at this point in the history
  • Loading branch information
egegunes committed Oct 13, 2018
1 parent bf81394 commit 9673119
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions redmine/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ def show(redmine, issue_id, journals):

issue = redmine.get_issue(issue_id, journals)

click.echo(
Issue(**issue,
statuses=redmine.statuses,
priorities=redmine.priorities,
users=redmine.users)
)
issue = Issue(**issue,
statuses=redmine.statuses,
priorities=redmine.priorities,
users=redmine.users)

click.echo_via_pager(str(issue))


@cli.command()
Expand Down

0 comments on commit 9673119

Please sign in to comment.