mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-19 05:31:23 +02:00
change the option name from '-H' to '-L'
This commit is contained in:
parent
0e2bed11ad
commit
cbad7578a9
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ module ColorLS
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_long_style_symlink_options(options, long_style_options)
|
def get_long_style_symlink_options(options, long_style_options)
|
||||||
options.on('-H', 'show information on the destination of symbolic links') do
|
options.on('-L', 'show information on the destination of symbolic links') do
|
||||||
long_style_options[:show_symbol_dest] = true
|
long_style_options[:show_symbol_dest] = true
|
||||||
end
|
end
|
||||||
long_style_options
|
long_style_options
|
||||||
|
|
|
@ -614,8 +614,8 @@ RSpec.describe ColorLS::Flags do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with -H flag in a listing format' do
|
context 'with -L flag in a listing format' do
|
||||||
let(:args) { ['-l', '-H', "#{FIXTURES}/a.txt"] }
|
let(:args) { ['-l', '-L', "#{FIXTURES}/a.txt"] }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
file_info = instance_double(
|
file_info = instance_double(
|
||||||
|
|
Loading…
Reference in a new issue