fix paste submit function name
This commit is contained in:
parent
438e5b5e2c
commit
8d18076ad9
1 changed files with 1 additions and 1 deletions
2
srht.py
2
srht.py
|
@ -108,7 +108,7 @@ def show_blob(sha):
|
||||||
@paste.command("submit")
|
@paste.command("submit")
|
||||||
@click.argument('visibility', type=click.Choice(PASTE_VISIBILITY))
|
@click.argument('visibility', type=click.Choice(PASTE_VISIBILITY))
|
||||||
@click.option('--filename')
|
@click.option('--filename')
|
||||||
def submit_ticket(visibility, filename):
|
def submit_paste(visibility, filename):
|
||||||
'''Submit a new paste'''
|
'''Submit a new paste'''
|
||||||
content = click.edit()
|
content = click.edit()
|
||||||
if content is None or len(content) < 1:
|
if content is None or len(content) < 1:
|
||||||
|
|
Loading…
Reference in a new issue