[llvm] [llvm-strings] Add --encoding={s,S,u} option (PR #221794)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 9 01:14:38 PDT 2026
================
@@ -40,8 +40,15 @@ Silently ignored. Present for GNU {program}`strings` compatibility.
:::
:::{option} --bytes=<length>, -n
-Set the minimum number of printable ASCII characters required for a sequence of
-bytes to be considered a string. The default value is 4.
+Set the minimum number of printable characters required for a sequence to be
+considered a string. The default value is 4.
+:::
+
+:::{option} --encoding=<encoding>, -e
+Specifies the encoding of the input file. Valid arguments are:
+- s (ASCII characters)
+- S (characters in the system's or user's selected character set)
----------------
jh7370 wrote:
"system's or user's" adds a lack of clarity to the documentation. Which is it supposed to be?
https://github.com/llvm/llvm-project/pull/221794
More information about the llvm-commits
mailing list