コード例 #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"));
}