mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 08:04:19 +02:00
Command line help: Add hint about platform overrides (#375)
- Rename PLATFORMS to PLATFORM - Add hint about specifying platform multiple times
This commit is contained in:
parent
f3d74850a8
commit
7c245040b9
2 changed files with 19 additions and 17 deletions
|
|
@ -41,10 +41,11 @@ pub(crate) struct Cli {
|
|||
)]
|
||||
pub render: Option<PathBuf>,
|
||||
|
||||
/// Override the operating system
|
||||
/// Override the operating system, can be specified multiple times in order of preference
|
||||
#[arg(
|
||||
short = 'p',
|
||||
long = "platform",
|
||||
value_name = "PLATFORM",
|
||||
action = ArgAction::Append,
|
||||
)]
|
||||
pub platforms: Option<Vec<PlatformType>>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue