lib/byebug/commands/display.rb in byebug-1.1.0 vs lib/byebug/commands/display.rb in byebug-1.1.1
- old
+ new
@@ -32,15 +32,15 @@
print "%d: ", @state.display.size
display_expression(exp)
end
class << self
- def help_command
- 'display'
+ def names
+ %w(display)
end
- def help(cmd)
+ def description
%{
disp[lay] <expression>\tadd expression into display expression list
}
end
end
@@ -63,15 +63,15 @@
def execute
print_display_expressions
end
class << self
- def help_command
- 'display'
+ def names
+ %w(display)
end
- def help(cmd)
+ def description
%{
disp[lay]\t\tdisplay expression list
}
end
end
@@ -99,21 +99,22 @@
end
end
end
class << self
- def help_command
- 'undisplay'
+ def names
+ %w(undisplay)
end
- def help(cmd)
+ def description
%{
undisp[lay][ nnn]
- Cancel some expressions to be displayed when program stops.
- Arguments are the code numbers of the expressions to stop displaying.
- No argument means cancel all automatic-display expressions.
- "delete display" has the same effect as this command.
- Do "info display" to see current list of code numbers.
+
+ Cancel some expressions to be displayed when program stops. Arguments
+ are the code numbers of the expressions to stop displaying. No
+ argument means cancel all automatic-display expressions. "delete
+ display" has the same effect as this command. Do "info display" to see
+ the current list of code numbers.
}
end
end
end
end