Write f64 values
This commit is contained in:
@@ -10,7 +10,7 @@ pub fn main() -> Result<(), Error> {
|
||||
}
|
||||
let opts = DaqIngestOpts::parse();
|
||||
match opts.subcmd {
|
||||
SubCmd::Bsread(k) => netfetch::zmtp::zmtp_client(&k.source, k.rcvbuf).await?,
|
||||
SubCmd::Bsread(k) => netfetch::zmtp::zmtp_client(&k.scylla, &k.source, k.rcvbuf, k.do_pulse_id).await?,
|
||||
SubCmd::ListPkey => daqingest::query::list_pkey().await?,
|
||||
SubCmd::ListPulses => daqingest::query::list_pulses().await?,
|
||||
}
|
||||
|
||||
@@ -21,8 +21,12 @@ pub enum SubCmd {
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
pub struct Bsread {
|
||||
#[clap(long)]
|
||||
pub scylla: String,
|
||||
#[clap(long)]
|
||||
pub source: String,
|
||||
#[clap(long)]
|
||||
pub rcvbuf: Option<u32>,
|
||||
#[clap(long)]
|
||||
pub do_pulse_id: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user