Skip to content

Commit 6b900bc

Browse files
committed
updating precommit_docopt function doc to include internal usage statement
1 parent 1a71230 commit 6b900bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/utils.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ git_init <- function(path = ".") {
9292
#' wraps docopt to ensure that the args will always be
9393
#' interpreted as a vector.
9494
#'
95+
#' This function is only exported for use in hook scripts, but it's not intended
96+
#' to be called by the end-user directly.
9597
#' @param doc `character` vector with command line specification.
9698
#' @param args `character` vector of command line arguments.
9799
#' Defaults to `commandArgs(trailingOnly=TRUE)`.

0 commit comments

Comments
 (0)