commit 628ec03303eac37dc618da5553e85c06012c246d parent c58089fe317c090abeaa2247c1b63a194ef12c49 Author: William Casarin <jb55@jb55.com> Date: Thu, 12 Nov 2020 12:24:05 -0800 bin/magnetize: allow btih customization Diffstat:
M | bin/magnetize | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/magnetize b/bin/magnetize @@ -1,2 +1,2 @@ #!/usr/bin/env bash -echo "magnet:?xt=urn:btih:$1" +echo "magnet:?xt=urn:${2:-btih}:$1"