Add a deprecation warning to level 4 constructor
This commit is contained in:
parent
37459b8df3
commit
8e13c3e0d7
1 changed files with 4 additions and 1 deletions
|
|
@ -201,7 +201,10 @@ impl Options {
|
|||
1 => opts.apply_preset_1(),
|
||||
2 => opts.apply_preset_2(),
|
||||
3 => opts.apply_preset_3(),
|
||||
4 => opts.apply_preset_4(),
|
||||
4 => {
|
||||
warn!("Level 4 is deprecated and is identical to level 3");
|
||||
opts.apply_preset_4()
|
||||
}
|
||||
5 => opts.apply_preset_5(),
|
||||
_ => opts.apply_preset_6(),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue