diff --git a/R/calendar.R b/R/calendar.R index 22cf715..5195fe3 100644 --- a/R/calendar.R +++ b/R/calendar.R @@ -492,9 +492,12 @@ new_defaults <- function(value=list()) { #' without providing a \code{Calendar} instance as a parameter. #' #' @format a \code{list} with \code{get} and \code{set} functions attached -#' @usage +#' \preformatted{ #' bizdays.options$set(key=value) #' bizdays.options$get("key") +#' } +#' @usage +#' bizdays.options #' @export #' @examples #' cal <- Calendar(name="Weekdays") diff --git a/man/bizdays.options.Rd b/man/bizdays.options.Rd index 5e340e1..51e76f6 100644 --- a/man/bizdays.options.Rd +++ b/man/bizdays.options.Rd @@ -2,10 +2,13 @@ \name{bizdays.options} \alias{bizdays.options} \title{bizdays' options} -\format{a \code{list} with \code{get} and \code{set} functions attached} -\usage{ +\format{a \code{list} with \code{get} and \code{set} functions attached +\preformatted{ bizdays.options$set(key=value) bizdays.options$get("key") +}} +\usage{ +bizdays.options } \description{ \code{bizdays.options} defines the default calendar to be