Skip to content

Commit 9ac484e

Browse files
authored
docs: Argparse documentation/comments typos (AcademySoftwareFoundation#4612)
Signed-off-by: Larry Gritz <[email protected]>
1 parent d5739a7 commit 9ac484e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/include/OpenImageIO/argparse.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ OIIO_NAMESPACE_BEGIN
6565
///
6666
/// Parse the command line:
6767
///
68-
/// ap.parse (argc, argv);
68+
/// ap.parse_args(argc, argv);
6969
///
7070
/// Extract the values like they are attributes in a ParamValueList:
7171
///
@@ -79,7 +79,7 @@ OIIO_NAMESPACE_BEGIN
7979
// Old syntax
8080
// ----------
8181
//
82-
// We still support this old syntax as well:
82+
// We still support this old syntax as well, but only internally:
8383
//
8484
// The parse function takes a list of options and variables or functions
8585
// for storing option values and return <0 on failure:
@@ -107,7 +107,7 @@ OIIO_NAMESPACE_BEGIN
107107
// "set the camera position",
108108
// "-lookat %f %f %f", &lx, &ly, &lz,
109109
// "set the position of interest",
110-
// "-oversampling %d", &oversampling, "oversamping rate",
110+
// "-oversampling %d", &oversampling, "oversampling rate",
111111
// "-passes %d", &passes, "number of passes",
112112
// "-lens %f %f %f", &aperture, &focalDistance, &focalLength,
113113
// "set aperture, focal distance, focal length",

0 commit comments

Comments
 (0)