aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/addsshkey.pl
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 00:38:15 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-30 00:38:15 +0200
commit5a57b76bf40372abd7c247d53d0d1ecbe7f5b205 (patch)
tree17baa457356142c300b4e11d6c6e477ce703b66c /src/gitjoe/addsshkey.pl
parentCool (diff)
downloadjoe-scripts-5a57b76bf40372abd7c247d53d0d1ecbe7f5b205.tar.gz
joe-scripts-5a57b76bf40372abd7c247d53d0d1ecbe7f5b205.tar.bz2
joe-scripts-5a57b76bf40372abd7c247d53d0d1ecbe7f5b205.tar.xz
joe-scripts-5a57b76bf40372abd7c247d53d0d1ecbe7f5b205.tar.zst
joe-scripts-5a57b76bf40372abd7c247d53d0d1ecbe7f5b205.zip
New script to change repo visibility
Diffstat (limited to 'src/gitjoe/addsshkey.pl')
-rwxr-xr-xsrc/gitjoe/addsshkey.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitjoe/addsshkey.pl b/src/gitjoe/addsshkey.pl
index c25c879..3340d64 100755
--- a/src/gitjoe/addsshkey.pl
+++ b/src/gitjoe/addsshkey.pl
@@ -4,7 +4,8 @@ use strict;
use warnings;
use Term::ANSIColor;
-sub main {
+sub main
+{
my $argc = $#ARGV + 1;
if ($argc < 2) {
print colored("Failed!\n", 'bold red')