Skip to content

Commit 8f9227a

Browse files
Organize help page into mode specific sections
1 parent 0e0f1da commit 8f9227a

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

  • rust/crates/sift_cli/src/cli

rust/crates/sift_cli/src/cli/mod.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,17 +451,21 @@ pub struct ImportHdf5Args {
451451

452452
/// (two-d / compound) Index of the time column or field. Defaults to 0.
453453
/// Mutually exclusive with --time-field and --time-name.
454-
#[arg(long, conflicts_with_all = ["time_field", "time_name"])]
454+
#[arg(
455+
long,
456+
conflicts_with_all = ["time_field", "time_name"],
457+
help_heading = "Two-d schema options",
458+
)]
455459
pub time_index: Option<u64>,
456460

457461
/// (compound) Name of the time field. Mutually exclusive with --time-index
458462
/// and --time-name.
459-
#[arg(long, conflicts_with = "time_name")]
463+
#[arg(long, conflicts_with = "time_name", help_heading = "Compound schema options")]
460464
pub time_field: Option<String>,
461465

462466
/// (one-d) Leaf name of the time dataset when it doesn't match the default
463467
/// auto-detected names (time, timestamp, timestamps, ts). Mutually exclusive
464468
/// with --time-index and --time-field.
465-
#[arg(long)]
469+
#[arg(long, help_heading = "One-d schema options")]
466470
pub time_name: Option<String>,
467471
}

0 commit comments

Comments
 (0)