Skip to content

Commit

Permalink
Fix the usage string
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Jun 20, 2024
1 parent 05efde5 commit d4b6d1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cjval"
version = "0.8.0"
description = "Schema-validation of CityJSON + CityJSONSeq datasets"
description = "Schema-validation of CityJSON+CityJSONSeq datasets"
authors = ["Hugo Ledoux <h.ledoux@tudelft.nl>"]
edition = "2021"
license = "MIT"
Expand Down
7 changes: 6 additions & 1 deletion src/bin/cjval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ use clap::Parser;
use anyhow::{anyhow, Result};

#[derive(Parser)]
#[command(version, about = "Validation of a CityJSON file", long_about = None)]
#[command(
about = "Schema-validation of CityJSON+CityJSONSeq datasets",
override_usage = "'cjval myfile.city.json' OR 'cat mystream.city.jsonl | cvjal'",
version,
long_about = None
)]
struct Cli {
/// CityJSON input file
inputfile: Option<PathBuf>,
Expand Down

0 comments on commit d4b6d1e

Please sign in to comment.