added Vector_zeroEnd() function
[util-vserver.git] / util-vserver / src / vlimit.c
index ae6bffa..9ff8921 100644 (file)
@@ -368,12 +368,12 @@ int main (int argc, char *argv[])
       case CMD_HELP    :  showHelp(1, argv[0], 0);
       case CMD_VERSION :  showVersion();
       case CMD_XID     :
-      case 'c'         :  ctx        = atoi(optarg); break;
-      case 'a'         :  show_all   = true;         break;
-      case 'n'         :  do_resolve = false;        break;
+      case 'a'         :  show_all   = true;            break;
+      case 'n'         :  do_resolve = false;           break;
+      case CMD_DIR     :  dir        = optarg;          break;
+      case CMD_MISSINGOK:  missing_ok = true;            break;
+      case 'c'         :  ctx = Evc_xidopt2xid(optarg,true);   break;
       case 'd'         :  fmt_func   = utilvserver_fmt_uint64; break;
-      case CMD_DIR     :  dir        = optarg;       break;
-      case CMD_MISSINGOK:  missing_ok = true;         break;
       case 'M'         :
       case 'S'         :
       case 'H'         :