summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-02-03 22:53:22 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-02-03 22:53:22 -0700
commit38784e08dffe5ab8df76f18f9be812f76b1d69cc (patch)
tree41672b0db23dd23cf7153739a82c89e812021e7b /lib
parentd81f0bf1ee13d0054f15fee94f98bb5b5b494d7a (diff)
downloadp5-Git-Annex-38784e08dffe5ab8df76f18f9be812f76b1d69cc.tar.gz
'ask' alias
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'lib')
-rw-r--r--lib/Git/Annex/BatchCommand.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Git/Annex/BatchCommand.pm b/lib/Git/Annex/BatchCommand.pm
index 80fdd3c..aacad0e 100644
--- a/lib/Git/Annex/BatchCommand.pm
+++ b/lib/Git/Annex/BatchCommand.pm
@@ -100,6 +100,14 @@ sub say {
return wantarray ? @output : $output[$#output];
}
+=head2 ask($input, ...)
+
+Synonym for C<say> method.
+
+=cut
+
+*Git::Annex::BatchCommand::ask = \&Git::Annex::BatchCommand::say;
+
=head2 restart
Kill and restart the C<--batch> command.