diff --git a/src/main/java/es/bsc/inb/elixir/biotools/git/populous/Main.java b/src/main/java/es/bsc/inb/elixir/biotools/git/populous/Main.java index 38b776cdbb45e08fb94422731cdbb63ecdb784bc..bc397f5161182fb225ac604239995eca42504665 100644 --- a/src/main/java/es/bsc/inb/elixir/biotools/git/populous/Main.java +++ b/src/main/java/es/bsc/inb/elixir/biotools/git/populous/Main.java @@ -1,3 +1,28 @@ +/** + * ***************************************************************************** + * Copyright (C) 2019 ELIXIR ES, Spanish National Bioinformatics Institute (INB) + * and Barcelona Supercomputing Center (BSC) + * + * Modifications to the initial code base are copyright of their respective + * authors, or their employers as appropriate. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + ***************************************************************************** + */ + package es.bsc.inb.elixir.biotools.git.populous; import com.google.common.jimfs.Configuration; @@ -30,14 +55,14 @@ import org.eclipse.jgit.util.SystemReader; public class Main { private final static String HELP = - "biotools-export -g [-b] [--path] -u -p\n\n" + + "java -jar biotools-populouse.jar -g -u -p [-b] [--path]\n\n" + "parameters:\n\n" + "-h (--help) - this help message\n" + "-g (--git) - git endpoint\n" + - "-b (--branch) - git remote branch ['origin/master']\n" + - "--path - git path to put files ['/']\n" + "-u (--user) 'username' - github username\n" + - "-p (--password) 'password' - github pasword\n\n" + + "-p (--password) 'password' - github pasword\n" + + "-b (--branch) - git remote branch ['origin/master']\n" + + "--path - git path to put files ['/']\n\n" + "example: >java -jar biotools-populous.jar -g https://github.com/xyz.git --path /biotools -u redmitry -p xyz\n"; public final static String BRANCH = "origin/master";