summaryrefslogtreecommitdiffstats
path: root/sq/src/sq_cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'sq/src/sq_cli.rs')
-rw-r--r--sq/src/sq_cli.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/sq/src/sq_cli.rs b/sq/src/sq_cli.rs
index 0e745570..0c106745 100644
--- a/sq/src/sq_cli.rs
+++ b/sq/src/sq_cli.rs
@@ -60,6 +60,20 @@ pub struct SqCommand {
)]
pub force: bool,
#[clap(
+ long = "output-format",
+ value_name = "FORMAT",
+ possible_values = ["human-readable", "json"],
+ default_value = "human-readable",
+ help = "Produces output in FORMAT, if possible",
+ )]
+ pub output_format: String,
+ #[clap(
+ long = "output-version",
+ value_name = "VERSION",
+ help = "Produces output variant VERSION",
+ )]
+ pub output_version: Option<String>,
+ #[clap(
long = "known-notation",
value_name = "NOTATION",
multiple_occurrences = true,