Skip to content

Commit

Permalink
docs: Argparse documentation/comments typos (#4612)
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <[email protected]>
  • Loading branch information
lgritz committed Feb 7, 2025
1 parent c3c119c commit 8191f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/OpenImageIO/argparse.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ OIIO_NAMESPACE_BEGIN
///
/// Parse the command line:
///
/// ap.parse (argc, argv);
/// ap.parse_args(argc, argv);
///
/// Extract the values like they are attributes in a ParamValueList:
///
Expand All @@ -79,7 +79,7 @@ OIIO_NAMESPACE_BEGIN
// Old syntax
// ----------
//
// We still support this old syntax as well:
// We still support this old syntax as well, but only internally:
//
// The parse function takes a list of options and variables or functions
// for storing option values and return <0 on failure:
Expand Down Expand Up @@ -107,7 +107,7 @@ OIIO_NAMESPACE_BEGIN
// "set the camera position",
// "-lookat %f %f %f", &lx, &ly, &lz,
// "set the position of interest",
// "-oversampling %d", &oversampling, "oversamping rate",
// "-oversampling %d", &oversampling, "oversampling rate",
// "-passes %d", &passes, "number of passes",
// "-lens %f %f %f", &aperture, &focalDistance, &focalLength,
// "set aperture, focal distance, focal length",
Expand Down

0 comments on commit 8191f12

Please sign in to comment.