diff --git a/cccli/command/right.py b/cccli/command/right.py
index 4b721465ba21c05847ee1dc4a5df2d9ea0b79c85..2c0484a82add8d07d85e5d3a2eb15dbc63318a4b 100644
--- a/cccli/command/right.py
+++ b/cccli/command/right.py
@@ -85,7 +85,10 @@ class Command_delright(TqlCommand):
         if len(self.args) != 2:
             raise cmdBadArgument()
         # building list of index
-        l = self.args[1:]
+        try:
+            l = [ int(x) for x in self.args[1:] ]
+        except ValueError as e:
+            raise cmdBadArgument("Indexes must be numbers")
         # if all is detected
         if "*" in l:
             self.rpccall("delright", self.args[0], None)