diff --git a/src/cli/cli_helper.rb b/src/cli/cli_helper.rb index 49c049f269..270ae2e4dc 100644 --- a/src/cli/cli_helper.rb +++ b/src/cli/cli_helper.rb @@ -329,10 +329,11 @@ module CLIHelper # Show resource # - # @param data [Hash/Object] Data to show + # @param data [Hash/Object] Data to show # @param options [Hash] Object with CLI user options - def show(data, options = {}) - update_columns(options) + # @param top [Boolean] True to not update columns again + def show(data, options = {}, top = false) + update_columns(options) unless top if data.is_a? Hash @data = data @@ -374,7 +375,7 @@ module CLIHelper CLIHelper.scr_cls CLIHelper.scr_move(0, 0) - show(data, options) + show(data, options, true) sleep delay end