diff options
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -443,6 +443,12 @@ pub struct Opt { /// Text to display in front of a renamed file path. pub file_renamed_label: String, + #[structopt(long = "max-line-length", default_value = "512")] + /// Truncate lines longer than this. To prevent any truncation, set to zero. Note that + /// syntax-highlighting very long lines (e.g. minified .js) will be very slow if they are not + /// truncated. + pub max_line_length: usize, + /// The width of underline/overline decorations. Use --width=variable to extend decorations and /// background colors to the end of the text only. Otherwise background colors extend to the /// full terminal width. |