From 7564045502b881d10492ebc6537ea748c6108513 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 22 Feb 2026 07:20:31 +0000 Subject: [PATCH] Improve the man page: complete SYNOPSIS, better formatting --- chardetect.1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/chardetect.1 b/chardetect.1 index f6f0ff2..5bed48e 100644 --- a/chardetect.1 +++ b/chardetect.1 @@ -1,10 +1,12 @@ -.TH CHARDETECT "1" "June 2022" "" "User Commands" +.TH CHARDETECT "1" "February 2026" "" "User Commands" .SH NAME .B chardetect \(en takes one or more file paths and reports their detected encodings .SH SYNOPSIS .B chardetect .RB [ \-h ] +.RB [ \-\-minimal ] +.RB [ \-l ] .RB [ \-\-version ] .RI [ input \ ...] .SH OPTIONS @@ -17,13 +19,13 @@ File whose encoding we would like to determine. .SS "OPTIONAL ARGUMENTS" .TP .B \-h\fR, \fB\-\-help -show a help message and exit +Show a help message and exit. .TP .B \-\-minimal -Print only the encoding to standard output +Print only the encoding to standard output. .TP .B \-l\fR, \fB\-\-legacy Rename legacy encodings to more modern ones. .TP .B \-\-version -show program\(cqs version number and exit +Show program\(cqs version number and exit.