logo

ap-client

CLI-based client / toolbox for ActivityPub Client-to-Servergit clone https://hacktivis.me/git/ap-client.git
commit: 2e041a57d8ee20fd9d4cff742134b1ee8ce07e41
parent 75b6e0f975e9567641f1c7b6e2551354cc9ccc74
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 14 Aug 2021 11:23:40 +0200

ap-backup.pl: Detail the operands usage

Diffstat:

Map-backup.pl3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/ap-backup.pl b/ap-backup.pl @@ -99,6 +99,9 @@ getopts("u:o:", \%options); if($#ARGV != 0) { print "usage: ap-backup.pl <-u user:password|-o OAuth-Bearer-Token> <url>\n"; print "This tool is used to backup an account, authentication is required.\n"; + print " -u HTTP Basic Auth\n"; + print " -o OAuth2 Bearer Token\n"; + print " url ActivityPub user URL or outbox URL\n"; print "Known to work against Pleroma.\n"; print "Activities are saved in the current working directory via their id, it's recommended to launch in a dedicated directory.\n"; exit 1;