Skip to content

Commit

Permalink
minor doc tweaks
Browse files Browse the repository at this point in the history
from previous pr that i'll ignore for a little bit

Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Apr 16, 2024
1 parent 952b928 commit f6f5241
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::path::PathBuf;
#[macro_use] extern crate log;
#[macro_use]
extern crate log;
use anyhow::{anyhow, Context, Result};
use clap::{CommandFactory, Parser, Subcommand};
use k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::{
Expand Down Expand Up @@ -86,7 +87,7 @@ struct Kopium {
/// Elide the following containers from the output
///
/// This allows manual customization of structs from the output without having to remove it from
/// the output first.
/// the output first. Takes precise generated struct names.
#[arg(long, short = 'e')]
elide: Vec<String>,

Expand All @@ -97,10 +98,10 @@ struct Kopium {
#[arg(long)]
relaxed: bool,

/// Enable generation of custom Condition APIs.
/// Disable standardised Condition API
///
/// If false, it detects if a particular path is an array of Condition objects and uses a standard
/// Condition API instead of generating a custom definition.
/// By default, kopium detects Condition objects and uses a standard
/// Condition API from k8s_openapi instead of generating a custom definition.
#[arg(long)]
no_condition: bool,

Expand Down

0 comments on commit f6f5241

Please sign in to comment.