add command option support