Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions framework_lib/src/commandline/clap_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ struct ClapCli {
#[arg(long)]
charge_limit: Option<Option<u8>>,

/// Get or set max charge current limit
/// Set max charge current limit
#[arg(long)]
#[clap(num_args = ..=2)]
#[clap(num_args = 1..=2)]
charge_current_limit: Vec<u32>,

/// Get or set max charge current limit
/// Set max charge current limit
#[arg(long)]
#[clap(num_args = ..=2)]
#[clap(num_args = 1..=2)]
charge_rate_limit: Vec<f32>,

/// Get GPIO value by name or all, if no name provided
Expand Down
1 change: 1 addition & 0 deletions framework_lib/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! A library to interact with [Framework Computer](https://frame.work) hardware and building tools to do so.

#![cfg_attr(feature = "uefi", no_std)]
#![allow(clippy::uninlined_format_args)]

extern crate alloc;
#[cfg(feature = "uefi")]
Expand Down
Loading