From 11f21d4f7a3bbd8eca4adb5baf4b81ea3e2136cb Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 8 Feb 2020 00:45:45 -0700 Subject: document passing an arrayref of arguments Signed-off-by: Sean Whitton --- lib/App/annex_review_unused.pm | 4 ++++ lib/App/annex_to_annex.pm | 4 ++++ lib/App/annex_to_annex_reinject.pm | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/lib/App/annex_review_unused.pm b/lib/App/annex_review_unused.pm index d92b6d6..4aac9ce 100644 --- a/lib/App/annex_review_unused.pm +++ b/lib/App/annex_review_unused.pm @@ -36,6 +36,10 @@ CORE::exit main unless caller; Implementation of annex-review-unused(1). Please see documentation for that command. +Normally takes no arguments and responds to C<@ARGV>. If you want to +override that you can pass an arrayref of arguments, and those will be +used instead of the contents of C<@ARGV>. + =cut sub main { diff --git a/lib/App/annex_to_annex.pm b/lib/App/annex_to_annex.pm index 56ea2d8..7336ffc 100644 --- a/lib/App/annex_to_annex.pm +++ b/lib/App/annex_to_annex.pm @@ -39,6 +39,10 @@ CORE::exit main unless caller; Implementation of annex-to-annex(1). Please see documentation for that command. +Normally takes no arguments and responds to C<@ARGV>. If you want to +override that you can pass an arrayref of arguments, and those will be +used instead of the contents of C<@ARGV>. + =cut sub main { diff --git a/lib/App/annex_to_annex_reinject.pm b/lib/App/annex_to_annex_reinject.pm index a857194..2e987ec 100644 --- a/lib/App/annex_to_annex_reinject.pm +++ b/lib/App/annex_to_annex_reinject.pm @@ -37,6 +37,10 @@ exit main() unless caller; Implementation of annex-to-annex-reinject(1). Please see documentation for that command. +Normally takes no arguments and responds to C<@ARGV>. If you want to +override that you can pass an arrayref of arguments, and those will be +used instead of the contents of C<@ARGV>. + =cut sub main { -- cgit v1.2.3