Skip to content

Commit 0b3b71e

Browse files
committed
Display Bang command as "!" instead of regex in help listing
1 parent f0328a4 commit 0b3b71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pry/commands/bang.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Bang < Pry::ClassCommand
66
match(/^\s*!\s*$/)
77
group 'Editing'
88
description 'Clear the input buffer.'
9-
command_options use_prefix: false
9+
command_options use_prefix: false, listing: '!'
1010

1111
banner <<-'BANNER'
1212
Clear the input buffer. Useful if the parsing process goes wrong and you get

0 commit comments

Comments
 (0)