Refactor name to be explicit

parent 09c1e92e
......@@ -50,7 +50,7 @@ setup(name=name,
# One entry point to control them all
'slapos = slapos.entry:main',
# Deprecated entry points
'slapconsole = slapos.client:run',
'slapconsole = slapos.client:slapconsole',
'slapos-watchdog = slapos.grid.watchdog:main',
'slapformat = slapos.format:main',
'slapgrid = slapos.grid.slapgrid:run',
......
......@@ -214,7 +214,7 @@ slapos-request allows you to request slapos instances.""" % sys.argv[0]
"couple of minutes to get connection informations")
exit(2)
def run():
def slapconsole():
"""Ran when invoking slapconsole"""
# Parse arguments
usage = """usage: %s [options] CONFIGURATION_FILE
......
......@@ -31,7 +31,7 @@ import ConfigParser
import os
import sys
from slapos.bang import main as bang
from slapos.client import run as console
from slapos.client import slapconsole as console
from slapos.client import request as request
from slapos.format import main as format
from slapos.grid.slapgrid import runComputerPartition as instance
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment