Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Argparse documentation/comments typos #4612

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading