Skip to content
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
7 changes: 6 additions & 1 deletion .github/scripts/update_argument_usage.R
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ argument_description_overrides <- c(
"with values minimum and maximum X/longitude and minimum and maximum",
"Y/latitude, in that order. Valid ranges depend on the dataset being queried.",
"Defaults to NULL, returning full spatial range of data."
),
CFVariable = paste(
"A CFVariable object to be processed."
)
)

Expand Down Expand Up @@ -433,7 +436,9 @@ resolve_argument_description <- function(arg_key, existing_argument_map, doc_ind
if (length(candidates) > 1) {
stop(
"Conflicting descriptions found for new argument ", arg_key, ": ",
paste(candidates, collapse = " | ")
paste(candidates, collapse = " | "),
". Add a canonical entry to argument_description_overrides in ",
".github/scripts/update_argument_usage.R."
)
}

Expand Down
Loading