Skip to content

Commit 4c872c0

Browse files
committed
Remove the -h option to dbconsole which is the shorter form of --header
This is done since the -h option to dbconsole hides the conventional -h for help and forces users to use --help to see the usage options for dbconsole.
1 parent 5d704fa commit 4c872c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/commands/dbconsole.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def start
3333
options['mode'] = mode
3434
end
3535

36-
opt.on("-h", "--header") do |h|
36+
opt.on("--header") do |h|
3737
options['header'] = h
3838
end
3939

0 commit comments

Comments
 (0)