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
4 changes: 0 additions & 4 deletions rust/sbp2json/src/bin/json2json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ use converters::{json2json, Result};
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

/// Convert "compact" SBP JSON data to an "exploded" form
///
/// Typical usage:
///
/// cat console-json-log.json | json2json
#[derive(Debug, Parser)]
#[clap(name = "json2json", verbatim_doc_comment, version)]
struct Options {
Expand Down
4 changes: 0 additions & 4 deletions rust/sbp2json/src/bin/json2sbp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ use converters::{json2sbp, Result};
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

/// Convert SBP JSON data to binary SBP.
///
/// Typical usage:
///
/// cat sbp.json | json2sbp
#[derive(Debug, Parser)]
#[clap(name = "json2sbp", verbatim_doc_comment, version)]
struct Options {
Expand Down
8 changes: 0 additions & 8 deletions rust/sbp2json/src/bin/sbp2json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ use converters::{sbp2json, Result};
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

/// Convert binary SBP data to JSON.
///
/// Typical usage:
///
/// cat sbp.dat | sbp2json
///
/// Or combined with socat:
///
/// socat tcp:192.168.1.222:55555 - | sbp2json
#[derive(Debug, Parser)]
#[structopt(name = "sbp2json", verbatim_doc_comment, version)]
pub struct Options {
Expand Down