code: private void checkArgs(final String[] argv) throws DevFailed {
          if (argv.length < 1) {
              throw DevFailedUtils.newDevFailed(INIT_ERROR, getUsage());
          }
          instanceName = argv[0];
          useDb = true;
          DatabaseFactory.setUseDb(true);
          List<String> noDbDevices = new ArrayList<String>();
          for (int i = 1; i < argv.length; i++) {
              final String arg = argv[i];
              if (arg.startsWith("-h")) { // trace instance name
                  System.out.println("instance list for server " + execName + ": "
                          + Arrays.toString(DatabaseFactory.getDatabase().getInstanceNameList(execName)));
              } else if (arg.startsWith("-v")) { // logging level
                  try {
                      final int level = Integer.parseInt(arg.substring(arg.lastIndexOf('v') + 1));
                      LoggingManager.getInstance().setLoggingLevel(level,
                              tangoClasses.values().toArray(new Class<?>[0]));
                  } catch (final NumberFormatException e) {
                      throw DevFailedUtils.newDevFailed("Logging level error. Must be a number");
                  }
              } else if (arg.startsWith("-dlist")) {
                  noDbDevices = configureNoDB(argv, i);
                  useDb = false;
              } else if (arg.startsWith("-file")) {
                  configureNoDBFile(argv, arg, noDbDevices);
                  useDb = false;
              }
          }
      }
docs: Check the command line arguments. The first one is mandatory and is the
  server name. A -v option is authorized with an optional argument.
  
  @param argv
  @throws DevFailed