diff options
author | Andrzej Grzeslak <agrzeslak0@gmail.com> | 2022-10-19 09:11:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 22:11:40 +0000 |
commit | c3b915b6952f0fa47d362d8f2474b6b8464ac8a7 (patch) | |
tree | 578968d03befce0e919fdd03e82cba398691f508 /alacritty/src/cli.rs | |
parent | 269b6e3dba66f54ff6d83a1d26142683dd191905 (diff) | |
download | r-alacritty-c3b915b6952f0fa47d362d8f2474b6b8464ac8a7.tar.gz r-alacritty-c3b915b6952f0fa47d362d8f2474b6b8464ac8a7.tar.bz2 r-alacritty-c3b915b6952f0fa47d362d8f2474b6b8464ac8a7.zip |
Fix `--help` output for `--class` to match man pages
The output of --help did not match the man pages with regards to the
ordering of arguments for the --class flag. This has now been fixed.
Fixes #6413.
Diffstat (limited to 'alacritty/src/cli.rs')
-rw-r--r-- | alacritty/src/cli.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs index e7aae207..d03d2f84 100644 --- a/alacritty/src/cli.rs +++ b/alacritty/src/cli.rs @@ -242,7 +242,7 @@ pub struct WindowIdentity { pub title: Option<String>, /// Defines window class/app_id on X11/Wayland [default: Alacritty]. - #[clap(long, value_name = "instance> | <instance>,<general", parse(try_from_str = parse_class))] + #[clap(long, value_name = "general> | <general>,<instance", parse(try_from_str = parse_class))] pub class: Option<Class>, } |