on master help sign in
Make --style docs reflect that 'full' is default
8ecd23eMartin Nordholts
assets/manual/bat.1.in+1−1
@@ -142,7 +142,7 @@ Configure which elements (line numbers, file headers, grid borders, Git modifica
142of components to display (e.g. 'numbers,changes,grid') or a pre\-defined style ('full').
142of components to display (e.g. 'numbers,changes,grid') or a pre\-defined style ('full').
143To set a default style, add the '\-\-style=".."' option to the configuration file or
143To set a default style, add the '\-\-style=".."' option to the configuration file or
144export the BAT_STYLE environment variable (e.g.: export BAT_STYLE=".."). Possible
144export 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.
146.HP
146.HP
147\fB\-r\fR, \fB\-\-line\-range\fR <N:M>...
147\fB\-r\fR, \fB\-\-line\-range\fR <N:M>...
148.IP
148.IP
src/bin/bat/clap_app.rs+2−2
@@ -394,8 +394,8 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
394 '--style=\"..\"' option to the configuration file or export the \
394 '--style=\"..\"' option to the configuration file or export the \
395 BAT_STYLE environment variable (e.g.: export BAT_STYLE=\"..\").\n\n\
395 BAT_STYLE environment variable (e.g.: export BAT_STYLE=\"..\").\n\n\
396 Possible values:\n\n \
396 Possible values:\n\n \
397− * full: enables all available components.\n \
397+ * full: enables all available components (default).\n \
398− * auto: same as 'full', unless the output is piped (default).\n \
398+ * auto: same as 'full', unless the output is piped.\n \
399 * plain: disables all available components.\n \
399 * plain: disables all available components.\n \
400 * changes: show Git modification markers.\n \
400 * changes: show Git modification markers.\n \
401 * header: show filenames before the content.\n \
401 * header: show filenames before the content.\n \