예제 #1
0
파일: dirs.cpp 프로젝트: TRI0N/wwiv
bool FixDirectoriesCommand::AddSubCommands() {
  add_argument(BooleanCommandLineArgument("verbose", 'v', "Enable verbose output.", false));

  return true;
}
예제 #2
0
파일: users.cpp 프로젝트: TellarHK/wwiv
bool FixUsersCommand::AddSubCommands() {
  add_argument(BooleanCommandLineArgument("exp", 'x', "Enable experimental features.", false));
  add_argument(BooleanCommandLineArgument("verbose", 'v', "Enable verbose output.", false));

  return true;
}
예제 #3
0
파일: dump_bbsdata.cpp 프로젝트: TRI0N/wwiv
bool DumpBbsDataCommand::AddSubCommands() {
  add_argument(BooleanCommandLineArgument("bbslist", 'l', "Parse BBSList.NET vs. BBSDATA.NET", false));

  return true;
}
예제 #4
0
파일: net_util.cpp 프로젝트: wwivbbs/wwiv
void AddStandardNetworkArgs(wwiv::core::CommandLine& cmdline, const std::string& current_directory) {
  cmdline.add_argument({"net", "Network number to use (i.e. 0).", "0"});
  cmdline.add_argument({"bbsdir", "(optional) BBS directory if other than current directory", current_directory});
  cmdline.add_argument(BooleanCommandLineArgument("skip_net", "Skip invoking network1/network2/network3"));
}