mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-13 00:20:08 +01:00
chore(deps): bump clap to 3.0.0-beta.5
This commit is contained in:
parent
276d17ce8f
commit
077d16311e
9 changed files with 177 additions and 186 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use crate::error;
|
||||
use clap::Clap;
|
||||
use clap::Parser;
|
||||
use termion::color;
|
||||
|
||||
pub fn parse_color(src: &str) -> Result<Box<dyn color::Color>, error::ParseError> {
|
||||
|
|
@ -52,7 +52,7 @@ mod tests {
|
|||
/// - `focus_*` colors are used to render the currently focused text span.
|
||||
/// - `normal_*` colors are used to render other text spans.
|
||||
/// - `hint_*` colors are used to render the hints.
|
||||
#[derive(Clap, Debug)]
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(about)] // Needed to avoid this doc comment to be used as overall `about`.
|
||||
pub struct UiColors {
|
||||
/// Foreground color for base text.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue