Alexander Karlis
565a80305c
Added new alias for 'decoration=always'
2020-09-14 11:24:14 +02:00
sharkdp
2b3457e8d6
Update --help text for --color
2020-07-25 22:32:34 +02:00
Dash Peters
c264f74771
Hide alias in help, update man and completions
...
A long alias doesn't make sense, since `--paging=never` already exists
2020-07-02 00:07:37 -07:00
Dash Peters
5fdeeabb44
Change to name no-paging, add long flag and alias
2020-07-01 21:35:45 -07:00
Dash Peters
2575aae945
Add short flag for --paging=never
2020-06-30 12:19:22 -07:00
Ethan P
8b481dd41f
Add support for NO_COLOR env var ( #1021 )
2020-05-28 21:49:10 +02:00
Ethan P
887e61a99d
Allow application to be built without git support
...
Caveats:
The help descriptions aren't changed with you remove the "git" feature.
2020-05-15 13:58:48 -07:00
sharkdp
989109145a
Add '-d' for '--diff'
2020-04-24 16:12:38 +02:00
Lzu Tao
e37e9c1214
Fix some clippy lints
...
Some might actually improve perf
2020-04-24 16:11:05 +02:00
sharkdp
82e7786e74
Implementation of 'bat --diff'
...
This adds a new `--diff` option that can be used to only show lines
close to Git changes (added/removed/modified lines). The amount of
additional context can be controlled with `--diff-context=N`.
closes #23
2020-04-24 09:57:57 +02:00
David Tolnay
570805bc98
Strip dependencies of bat-as-a-library
2020-03-31 09:27:56 +02:00
David Peter
37b3b8730d
Merge pull request #871 from neuronull/fix_654_stdin_filename
...
Implement --file-name<name> option
2020-03-26 09:35:01 +01:00
Josh Mickley
376c556862
Add option to generate a default config file, fixes #870
2020-03-26 09:14:40 +01:00
Kyle Criddle
38178fedf4
Merge branch 'master' into fix_654_stdin_filename
2020-03-24 19:08:43 -06:00
sharkdp
978def2d40
Update documentation
2020-03-22 11:02:51 +01:00
Kyle Criddle
517be5c7bc
Implement --file-name<name> option
...
- can specify filename to be displayed when printing.
- useful for when piping data from STDIN
Closes #654
2020-03-17 20:29:01 -06:00
Liam Kalir
5ef1c6cce2
Grammar touch-ups, more descriptive error message for invalid line
...
ranges
2020-01-27 06:54:00 +01:00
Liam Kalir
93881d9a64
Adds range syntax for line highlights
2020-01-27 06:54:00 +01:00
sharkdp
20ba984c6d
Update help text, closes #713
2019-12-22 16:05:00 +01:00
Helder M
3b5fcf4619
Update options sort order in --help and manpage file
...
This commit updates the sort order of --help options in order to improve
usability/importance putting most useful/used commands on top. In
addition to that, similar options were grouped together.
2019-10-29 19:54:25 +01:00
Fahmi Akbar Wildana
e981bd88c1
Move src/bin/* into src/bin/bat/
...
This will limit [[bin]] to *bat* only which will make:
- `cargo run` works without specifying --bin
- prevent `cargo build --bins` to produce multiple binaries (app,clap_app,...)
2019-10-20 21:43:51 +02:00