Revision 064c21f8 scripts/gnt-job

b/scripts/gnt-job
345 345
commands = {
346 346
  'list': (
347 347
    ListJobs, [ArgJobId()],
348
    [DEBUG_OPT, NOHDR_OPT, SEP_OPT, FIELDS_OPT],
348
    [NOHDR_OPT, SEP_OPT, FIELDS_OPT],
349 349
    "[job_id ...]",
350 350
    "List the jobs and their status. The available fields are"
351 351
    " (see the man page for details): id, status, op_list,"
......
353 353
    " The default field"
354 354
    " list is (in order): %s." % ", ".join(_LIST_DEF_FIELDS)),
355 355
  'archive': (
356
    ArchiveJobs, [ArgJobId(min=1)], [DEBUG_OPT],
356
    ArchiveJobs, [ArgJobId(min=1)], [],
357 357
    "<job-id> [<job-id> ...]", "Archive specified jobs"),
358 358
  'autoarchive': (
359 359
    AutoArchiveJobs,
360 360
    [ArgSuggest(min=1, max=1, choices=["1d", "1w", "4w"])],
361
    [DEBUG_OPT],
361
    [],
362 362
    "<age>", "Auto archive jobs older than the given age"),
363 363
  'cancel': (
364
    CancelJobs, [ArgJobId(min=1)], [DEBUG_OPT],
364
    CancelJobs, [ArgJobId(min=1)], [],
365 365
    "<job-id> [<job-id> ...]", "Cancel specified jobs"),
366 366
  'info': (
367
    ShowJobs, [ArgJobId(min=1)], [DEBUG_OPT],
367
    ShowJobs, [ArgJobId(min=1)], [],
368 368
    "<job-id> [<job-id> ...]",
369 369
    "Show detailed information about the specified jobs"),
370 370
  'watch': (
371
    WatchJob, [ArgJobId(min=1, max=1)], [DEBUG_OPT],
371
    WatchJob, [ArgJobId(min=1, max=1)], [],
372 372
    "<job-id>", "Follows a job and prints its output as it arrives"),
373 373
  }
374 374

  

Also available in: Unified diff