From 1dd6444b9bdc74fd195d35d6ac05a75ed4bdb446 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Mon, 5 May 2025 16:55:39 +0000 Subject: [PATCH] ykman-{config,oath}: add option placeholders (#16379) --- pages.ko/common/ykman-config.md | 6 +++--- pages.ko/common/ykman-oath.md | 2 +- pages.nl/common/ykman-config.md | 6 +++--- pages.nl/common/ykman-oath.md | 2 +- pages.zh/common/ykman-config.md | 6 +++--- pages.zh/common/ykman-oath.md | 2 +- pages/common/ykman-config.md | 6 +++--- pages/common/ykman-oath.md | 4 ++-- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/pages.ko/common/ykman-config.md b/pages.ko/common/ykman-config.md index 7df72fe9c3..488e734bab 100644 --- a/pages.ko/common/ykman-config.md +++ b/pages.ko/common/ykman-config.md @@ -6,12 +6,12 @@ - USB 또는 NFC를 통해 애플리케이션 활성화 (`--enable`을 여러 번 사용하여 더 많은 애플리케이션을 지정할 수 있음): -`ykman config {{usb|nfc}} --enable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - USB 또는 NFC를 통해 애플리케이션 비활성화 (`--disable`을 여러 번 사용하여 더 많은 애플리케이션을 지정할 수 있음): -`ykman config {{usb|nfc}} --disable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - NFC를 통해 모든 애플리케이션 비활성화: -`ykman config nfc --disable-all` +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.ko/common/ykman-oath.md b/pages.ko/common/ykman-oath.md index fe3ead3b97..0269a62a38 100644 --- a/pages.ko/common/ykman-oath.md +++ b/pages.ko/common/ykman-oath.md @@ -14,7 +14,7 @@ - 새 계정 추가 (`--issuer`는 선택 사항): -`ykman oath accounts add --issuer {{발행자}} {{이름}}` +`ykman oath accounts add {{[-i|--issuer]}} {{발행자}} {{이름}}` - 모든 계정 나열 (발행자 포함): diff --git a/pages.nl/common/ykman-config.md b/pages.nl/common/ykman-config.md index 88d0c69c3a..a81bf0efc9 100644 --- a/pages.nl/common/ykman-config.md +++ b/pages.nl/common/ykman-config.md @@ -6,12 +6,12 @@ - Schakel een applicatie in via USB of NFC (`--enable` kan meerdere keren gebruikt worden om meerdere applicaties te specificeren): -`ykman config {{usb|nfc}} --enable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - Schakel een applicatie uit via USB of NFC (`--disable` kan meerdere keren gebruikt worden om meerdere applicaties te specificeren): -`ykman config {{usb|nfc}} --disable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - Schakel alle applicaties uit via NFC: -`ykman config nfc --disable-all` +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.nl/common/ykman-oath.md b/pages.nl/common/ykman-oath.md index 9e7456f0a3..5c948399ba 100644 --- a/pages.nl/common/ykman-oath.md +++ b/pages.nl/common/ykman-oath.md @@ -14,7 +14,7 @@ - Voeg een nieuw account toe (`--issuer` is optioneel): -`ykman oath accounts add --issuer {{indiener}} {{naam}}` +`ykman oath accounts add {{[-i|--issuer]}} {{indiener}} {{naam}}` - Toon alle accounts (met hun indiener): diff --git a/pages.zh/common/ykman-config.md b/pages.zh/common/ykman-config.md index c064bd22c8..1290c2bcc4 100644 --- a/pages.zh/common/ykman-config.md +++ b/pages.zh/common/ykman-config.md @@ -6,12 +6,12 @@ - 通过 USB 或 NFC 启用某个应用程序(`--enable` 可以多次使用以指定更多应用程序): -`ykman config {{usb|nfc}} --enable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - 通过 USB 或 NFC 禁用某个应用程序(`--disable` 可以多次使用以指定更多应用程序): -`ykman config {{usb|nfc}} --disable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - 禁用 NFC 上的所有应用程序: -`ykman config nfc --disable-all` +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages.zh/common/ykman-oath.md b/pages.zh/common/ykman-oath.md index 79170f89ec..c2e2f87d49 100644 --- a/pages.zh/common/ykman-oath.md +++ b/pages.zh/common/ykman-oath.md @@ -14,7 +14,7 @@ - 添加一个新账户(`--issuer` 是可选的): -`ykman oath accounts add --issuer {{发行者}} {{名称}}` +`ykman oath accounts add {{[-i|--issuer]}} {{发行者}} {{名称}}` - 列出所有账户(及其发行者): diff --git a/pages/common/ykman-config.md b/pages/common/ykman-config.md index 07279eae82..601d8dbb9e 100644 --- a/pages/common/ykman-config.md +++ b/pages/common/ykman-config.md @@ -6,12 +6,12 @@ - Enable an application over USB or NFC (`--enable` can be used multiple times to specify more applications): -`ykman config {{usb|nfc}} --enable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-e|--enable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - Disable an application over USB or NFC (`--disable` can be used multiple times to specify more applications): -`ykman config {{usb|nfc}} --disable {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` +`ykman config {{usb|nfc}} {{[-d|--disable]}} {{otp|u2f|fido2|oath|piv|openpgp|hsmauth}}` - Disable all applications over NFC: -`ykman config nfc --disable-all` +`ykman config nfc {{[-D|--disable-all]}}` diff --git a/pages/common/ykman-oath.md b/pages/common/ykman-oath.md index 33150907eb..9542d63c0d 100644 --- a/pages/common/ykman-oath.md +++ b/pages/common/ykman-oath.md @@ -12,9 +12,9 @@ `ykman oath access change` -- Add a new account (`--issuer` is optional): +- Add a new account (the issuer is optional): -`ykman oath accounts add --issuer {{issuer}} {{name}}` +`ykman oath accounts add {{[-i|--issuer]}} {{issuer}} {{name}}` - List all accounts (with their issuers):