Skip to content

Commit a365c5b

Browse files
committed
fix(cli): make CLI argument descriptions slightly more clear
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
1 parent acd0554 commit a365c5b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/cli.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ use crate::ir::Version;
1616
about = "Vulkan/OpenGL/GLES/EGL/GLX/WGL loader generator"
1717
)]
1818
pub struct Cli {
19-
/// Automatically include any extension whose commands were promoted into the
20-
/// requested core version, even if not listed in --extensions.
19+
/// Automatically include any extension whose commands or enums were
20+
/// promoted into the requested core version, even if not listed in
21+
/// --extensions.
2122
#[arg(long)]
2223
pub promoted: bool,
2324

@@ -28,9 +29,9 @@ pub struct Cli {
2829
#[arg(long)]
2930
pub predecessors: bool,
3031

31-
/// API specifiers: comma-separated name\[:profile\]=version pairs.
32-
/// Profile is required for GL (core|compat). Version is optional (latest if omitted).
33-
/// Example: gl:core=3.3,gles2=3.0
32+
/// API specifiers: comma-separated name[:profile]=version pairs. Profile
33+
/// is required for GL (core|compat). Version is optional (latest if
34+
/// omitted). Example: gl:core=3.3,gles2=3.0
3435
#[arg(long, required = true)]
3536
pub api: String,
3637

@@ -53,7 +54,6 @@ pub struct Cli {
5354
pub quiet: bool,
5455

5556
/// Fetch XML specs from Khronos remote URLs instead of bundled copies.
56-
/// Any fetch failure is fatal.
5757
#[arg(long)]
5858
pub fetch: bool,
5959

0 commit comments

Comments
 (0)