summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-08 00:45:45 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-08 00:45:45 -0700
commit11f21d4f7a3bbd8eca4adb5baf4b81ea3e2136cb (patch)
tree2ed48b03de38fdb21d5bedab87f74369a558da0b
parent2a1c7ef7c020dd3ed47ed18f28f3ce8f9dad9c79 (diff)
downloadp5-Git-Annex-11f21d4f7a3bbd8eca4adb5baf4b81ea3e2136cb.tar.gz
document passing an arrayref of arguments
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--lib/App/annex_review_unused.pm4
-rw-r--r--lib/App/annex_to_annex.pm4
-rw-r--r--lib/App/annex_to_annex_reinject.pm4
3 files changed, 12 insertions, 0 deletions
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 {