Skip to content

Commit

Permalink
(Documentation) Improve documentation for interval switch parser
Browse files Browse the repository at this point in the history
* The generated documentation didn't differentiate between
  parameterized nouns that need "an" versus "a" as their
  article. Since the value in question is definite, we can use "the"
  to avoid the incorrect grammar.

Issue #218+
  • Loading branch information
matzke1 authored and rosecompiler committed Aug 1, 2024
1 parent b0afbf6 commit ba25978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rose/CommandLine/IntervalParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class IntervalParser: public Sawyer::CommandLine::ValueParser {
" and the word \"empty\" or an empty string represents the empty " + interval + "."

" When the " + interval + " is specified as a range, the first " + value + " must be less than or equal to"
" the second value. A " + value + " can be specified in decimal, hexadecimal (leading \"0x\"),"
" the second value. The " + value + " can be specified in decimal, hexadecimal (leading \"0x\"),"
" octal (leading \"0\"), or binary (leading \"0b\"). The upper " + value + " can be the word \"max\" when"
" appearing after a comma.");
}
Expand Down

0 comments on commit ba25978

Please sign in to comment.