Skip to content

Commit

Permalink
image4: tweak help text
Browse files Browse the repository at this point in the history
  • Loading branch information
hollasch committed Nov 6, 2024
1 parent 2d2029c commit 4263f26
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ray4/src/image4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <imageFile>, --image <imageFile>
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,
Expand Down Expand Up @@ -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.
Expand All @@ -121,8 +122,6 @@ struct Parameters {
int cropYMax{-1}; // Maximum Y coordinate for cropped output images
};

//__________________________________________________________________________________________________

enum class OptionType {
Help,
Version,
Expand Down

0 comments on commit 4263f26

Please sign in to comment.