File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ opts = GetoptLong.new(
11
11
[ '--help' , '-h' , GetoptLong ::NO_ARGUMENT ] ,
12
12
[ '--input' , '-i' , GetoptLong ::REQUIRED_ARGUMENT ] ,
13
13
[ '--output' , '-o' , GetoptLong ::REQUIRED_ARGUMENT ] ,
14
- [ '--optimize-selectors' , '-s' , GetoptLong ::NO_ARGUMENT ] )
14
+ [ '--no- optimize-selectors' , '-s' , GetoptLong ::NO_ARGUMENT ] )
15
15
16
16
$infile = nil
17
17
$outfile = nil
@@ -29,7 +29,7 @@ def usage
29
29
end
30
30
31
31
# The options that will be passed to the tidy method
32
- options = { }
32
+ options = { :optimize_selectors => true }
33
33
34
34
opts . each do |opt , arg |
35
35
case opt
@@ -39,8 +39,8 @@ opts.each do |opt, arg|
39
39
$infile = arg
40
40
when '--output'
41
41
$outfile = arg
42
- when '--optimize-selectors'
43
- options = options . merge ( { :optimize_selectors => true } )
42
+ when '--no- optimize-selectors'
43
+ options = options . merge ( { :optimize_selectors => false } )
44
44
end
45
45
end
46
46
You can’t perform that action at this time.
0 commit comments