Browse Source

small fixes

master
Vašek Šraier 6 years ago
parent
commit
e2c6f570b5
  1. 3
      register.py

3
register.py

@ -6,7 +6,6 @@ from swagger_client.models import CreateUserOption, Team, User, Organization
from swagger_client.rest import ApiException from swagger_client.rest import ApiException
from sys import stderr from sys import stderr
import click import click
import secrets
import termcolor import termcolor
import requests import requests
from bs4 import BeautifulSoup as bs from bs4 import BeautifulSoup as bs
@ -125,7 +124,7 @@ ADMIN_TOKEN = config.ADMIN_TOKEN
@click.command() @click.command()
@click.option('-a', '--admin-token', help='Admin access token', required=True) @click.option('-a', '--admin-token', help='Admin access token')
@click.option('-h', '--host', help='Gitea URL (default: {})'.format(HOST)) @click.option('-h', '--host', help='Gitea URL (default: {})'.format(HOST))
@click.option('-e', '--email', help='Emailova adresa noveho uzivatele.', required=True) @click.option('-e', '--email', help='Emailova adresa noveho uzivatele.', required=True)
@click.option('-u', '--username', help='Uzivatelske jmeno noveho uzivatele.', required=True) @click.option('-u', '--username', help='Uzivatelske jmeno noveho uzivatele.', required=True)

Loading…
Cancel
Save