mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 18:52:47 +08:00
feat(cli): document SENBEI_LANG in --help
The help now names the display-language variable, its values, the fallback to the system language, and that JSON and saved logs stay English. It is printed between the resource limits and the exit codes, in every language.
This commit is contained in:
1 parent
4853fe22c0
commit
3b28f1aaa4
8 files changed
+33
No files matched your search
@@ -248,6 +248,9 @@ pub(crate) fn cli(cli: &Cli) -> Cow<'static, str> {
|
||||
\x20 上限は展開・割り当て前に検査されます。ピークRSSの上限ではありません。"
|
||||
)
|
||||
.into(),
|
||||
Cli::HelpLanguage => " SENBEI_LANG 表示言語: en、zh-CN、zh-TW、ja、またはko。未設定時は\n\
|
||||
\x20 システムの言語を使用します。JSONと保存されるログは常に英語です。"
|
||||
.into(),
|
||||
Cli::HelpExitCodes => " 終了コード: 0 成功、1 対象の失敗 (--strict-integrity時の要注意を含む)、\n\
|
||||
\x20 2 コマンドライン引数の却下。"
|
||||
.into(),
|
||||
|
||||
Reference in new issue
Block a user