Skip to content

Commit

Permalink
tweak rspref print method
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Jun 30, 2023
1 parent 1122de7 commit 41f863f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/prefs.R
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ print.rs_pref <- function(x, ...) {
paste0(paste(x$parent, collapse = "$"), "$")
} else ""

cli::cli_text("<{parent}{.strong {x$name}}>")
cli::cli_text("<rspref: {parent}{.strong {x$name}}>")
cli::cli_text("{.emph {x$description}}")
cli::cli_div(theme = list(
span.dt = list(color = "yellow"),
Expand Down

0 comments on commit 41f863f

Please sign in to comment.