(self, cmdp)
return self.STATUS_OK
rmname: remove a name alias from container
        rmname <container-name>
rmname: remove a name alias from container
        rmname <container-name>
rmname : remove a name alias from container rmname <container - name >
def do_rmname(self, cmdp):
        """
        rmname: remove a name alias from container
        rmname <container-name>
        """
        name = cmdp.get("P1")
        if cmdp.missing_options():               # syntax error
            return self.STATUS_ERROR
        if not name:
            Msg().err("Error: invalid container id or name")
            return self.STATUS_ERROR
        if not self.localrepo.del_container_name(name):
            Msg().err("Error: removing container name")
            return self.STATUS_ERROR

        Msg().out("Info: container name: %s removed." % name)
        return self.STATUS_OK
def do_rmname ( self , cmdp ) : name = cmdp . get ( "P1" ) if cmdp . missing_options ( ) : # syntax error return self . STATUS_ERROR if not name : Msg ( ) . err ( "Error: invalid container id or name" ) return self . STATUS_ERROR if not self . localrepo . del_container_name ( name ) : Msg ( ) . err ( "Error: removing container name" ) return self . STATUS_ERROR Msg ( ) . out ( "Info: container name: %s removed." % name ) return self . STATUS_OK