913b70
.TH CHARDETECT "1" "June 2022" "" "User Commands"
913b70
.SH NAME
913b70
.B chardetect
913b70
\(en takes one or more file paths and reports their detected encodings
913b70
.SH SYNOPSIS
913b70
.B chardetect
913b70
.RB [ \-h ]
913b70
.RB [ \-\-version ]
913b70
.RI [ input \ ...]
913b70
.SH OPTIONS
913b70
.SS "POSITIONAL ARGUMENTS"
913b70
.TP
913b70
.I input
913b70
File whose encoding we would like to determine.
913b70
(default:
913b70
.IR stdin )
913b70
.SS "OPTIONAL ARGUMENTS"
913b70
.TP
913b70
.B \-h\fR, \fB\-\-help
913b70
show a help message and exit
913b70
.TP
913b70
.B \-\-minimal
913b70
Print only the encoding to standard output
913b70
.TP
913b70
.B \-l\fR, \fB\-\-legacy
913b70
Rename legacy encodings to more modern ones.
913b70
.TP
913b70
.B \-\-version
913b70
show program\(cqs version number and exit