
#include "client.h"

DEFINE_string(config_filename, "", "Where to find the config file.");

int main(int argc, char* argv[]) {
  InitGoogle(argv[0], &argc, &argv, true);
  grr::Client::StaticInit();
  grr::Client client(FLAGS_config_filename);
  client.Run();
  return 0;
}


#include "client.h"

int main(int argc, char* argv[]) {
  grr::Client::StaticInit();
  if (argc != 2) {
    GOOGLE_LOG(FATAL) << "Usage is: client <config>";
  }
  grr::Client client(argv[1]);
  client.Run();
  return 0;
}

Remove dependency on Google argument parsing.
Remove dependency on Google argument parsing.
