Project

General

Profile

Bug #7001

Remove "No data" from list commands

Added by Tomáš Strachota almost 6 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Hammer prints "No data" in list actions when the returned collection is empty. It doesn't make much sense and also doesn't help scripting with hammer at all.

We should remove the message and display only table headers for empty collections.

Associated revisions

Revision ee69de68 (diff)
Added by Adam Ruzicka almost 6 years ago

Fixes #7001 - Prints table headers when no data

Revision 0918540a
Added by Tomas Strachota over 5 years ago

Merge pull request #146 from adamruzicka/remove-no-data

Fixes #7001 - Prints table headers when no data

History

#1 Updated by Tomáš Strachota almost 6 years ago

  • Description updated (diff)

#2 Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.3
  • Pull request https://github.com/theforeman/hammer-cli/pull/146 added
  • Pull request deleted ()

#3 Updated by Dominic Cleal almost 6 years ago

  • Target version changed from 1.7.3 to 1.7.2

#4 Updated by Adam Ruzicka over 5 years ago

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

Also available in: Atom PDF