1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-01 19:02:22 +01:00

Fix accidental printing of files named 'cache'

This also adds two regression tests, so this will hopefully not pop up
again.

closes #557
This commit is contained in:
sharkdp
2019-05-10 14:02:08 -05:00
committed by David Peter
parent 2b9d25df05
commit 72152296c7
4 changed files with 18 additions and 1 deletions

View File

@@ -18,7 +18,6 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
.global_setting(AppSettings::DeriveDisplayOrder)
.global_setting(AppSettings::UnifiedHelpMessage)
.global_setting(AppSettings::HidePossibleValuesInHelp)
.setting(AppSettings::InferSubcommands)
.setting(AppSettings::ArgsNegateSubcommands)
.setting(AppSettings::DisableHelpSubcommand)
.setting(AppSettings::VersionlessSubcommands)