Skip to content

Commit aa36388

Browse files
committed
Current and charge rate limit cannot be read
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 7424ad0 commit aa36388

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

framework_lib/src/commandline/clap_std.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ struct ClapCli {
167167
#[arg(long)]
168168
charge_limit: Option<Option<u8>>,
169169

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

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

180180
/// Get GPIO value by name or all, if no name provided

0 commit comments

Comments
 (0)