~ubuntu-branches/ubuntu/utopic/nordugrid-arc/utopic

« back to all changes in this revision

Viewing changes to src/services/a-rex/jura/jura.cpp

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-05-01 20:51:02 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140501205102-icy9t3348uxobyx7
Tags: 4.1.0-1
* 4.1.0 Release
* Call dh_autoreconf to support ppc64le (Closes: #744639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  bool force_resend = false;
47
47
  std::string year  = "";
48
48
  std::string month = "";
 
49
  std::string vo_filters=""; 
49
50
  int n;
50
 
  while((n=getopt(argc,argv,":E:u:t:o:y:m:afsv")) != -1) {
 
51
  while((n=getopt(argc,argv,":E:u:t:o:y:F:m:afsv")) != -1) {
51
52
    switch(n) {
52
53
    case ':': { std::cerr<<"Missing argument\n"; return 1; }
53
54
    case '?': { std::cerr<<"Unrecognized option\n"; return 1; }
82
83
    case 'y':
83
84
      year = (std::string(optarg));
84
85
      break;
 
86
    case 'F':
 
87
      vo_filters = (std::string(optarg));
 
88
      break;
85
89
    case 'm':
86
90
      month = (std::string(optarg));
87
91
      break;
152
156
    {
153
157
      usagereporter=new Arc::UsageReporter(
154
158
                          std::string(argv[argind])+"/logs",
155
 
                          ex_period, urls, topics, output_dir );
 
159
                          ex_period, urls, topics, vo_filters, output_dir );
156
160
      usagereporter->report();
157
161
      delete usagereporter;
158
162
    }