From 4263f266e777e3602247acbab21a70be05e96799 Mon Sep 17 00:00:00 2001 From: Steve Hollasch Date: Tue, 5 Nov 2024 21:24:05 -0800 Subject: [PATCH] image4: tweak help text --- ray4/src/image4.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ray4/src/image4.cpp b/ray4/src/image4.cpp index d2a60a5..07fc1ca 100644 --- a/ray4/src/image4.cpp +++ b/ray4/src/image4.cpp @@ -51,12 +51,12 @@ This tool reads a 3D image cube produced by the ray4 4D ray tracer, and either reports information about the file, or generates one or more images from that image cube, depending on the command line options. --v, --version - Print version information and exit. - -h, --help Print usage + version information and exit. +-v, --version + Print version information and exit. + -i, --input , --image Required argument unless the help option is given. The input image file is produced by the `ray4` 4D ray tracer, either the original image cube format, @@ -102,6 +102,7 @@ image cube, depending on the command line options. )"; //__________________________________________________________________________________________________ +// Program Parameters struct Parameters { bool printHelp{false}; // Print help + version information and exit. @@ -121,8 +122,6 @@ struct Parameters { int cropYMax{-1}; // Maximum Y coordinate for cropped output images }; -//__________________________________________________________________________________________________ - enum class OptionType { Help, Version,