on master help sign in
Make --style docs reflect that 'full' is default

Closes #1742

commit8ecd23eab4f30dc02e3954c6ff05fa18a5b81e34 authorMartin Nordholts <enselic@gmail.com> dateWed 4 Aug 2021, 17:07 (5 years ago) parent1ef0206
2 files changed+3−3
assets/manual/bat.1.in+1−1 src/bin/bat/clap_app.rs+2−2
assets/manual/bat.1.in+1−1
@@ -142,7 +142,7 @@ Configure which elements (line numbers, file headers, grid borders, Git modifica
142142of components to display (e.g. 'numbers,changes,grid') or a pre\-defined style ('full').
143143To set a default style, add the '\-\-style=".."' option to the configuration file or
144144export the BAT_STYLE environment variable (e.g.: export BAT_STYLE=".."). Possible
145−values: *auto*, full, plain, changes, header, grid, rule, numbers, snip.
145+values: *full*, auto, plain, changes, header, grid, rule, numbers, snip.
146146.HP
147147\fB\-r\fR, \fB\-\-line\-range\fR <N:M>...
148148.IP
src/bin/bat/clap_app.rs+2−2
@@ -394,8 +394,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
394394 '--style=\"..\"' option to the configuration file or export the \
395395 BAT_STYLE environment variable (e.g.: export BAT_STYLE=\"..\").\n\n\
396396 Possible values:\n\n \
397− * full: enables all available components.\n \
398− * auto: same as 'full', unless the output is piped (default).\n \
397+ * full: enables all available components (default).\n \
398+ * auto: same as 'full', unless the output is piped.\n \
399399 * plain: disables all available components.\n \
400400 * changes: show Git modification markers.\n \
401401 * header: show filenames before the content.\n \