mirror of
https://github.com/italicsjenga/mppt-modbus.git
synced 2024-12-23 08:41:30 +11:00
disable auto help
This commit is contained in:
parent
8b8428cc6c
commit
130611aee6
|
@ -1,6 +1,6 @@
|
|||
use std::{path::Path, process::Command};
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
use clap::{AppSettings, Parser, Subcommand};
|
||||
use libmodbus_rs::{Modbus, ModbusClient, ModbusRTU};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
@ -117,6 +117,7 @@ struct MpptEeprom {
|
|||
}
|
||||
|
||||
#[derive(Parser)]
|
||||
#[clap(global_setting = AppSettings::DisableHelpSubcommand)]
|
||||
#[clap(author, about, long_about = None)]
|
||||
struct Args {
|
||||
/// Serial port to connect to MPPT
|
||||
|
|
Loading…
Reference in a new issue