/* * eval_input_alda.c - Part of AFD, an automatic file distribution program. * Copyright (c) 2007 - 2019 Holger Kiehl * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "afddefs.h" DESCR__S_M3 /* ** NAME ** eval_input_alda - checks syntax of input for process alda ** ** SYNOPSIS ** void eval_input_alda(int *argc, char *argv[]) ** ** DESCRIPTION ** This module checks whether the syntax is correct. The syntax is as ** follows: ** alda [options] ** ** Mode options ** -c continuous ** -C continuous daemon ** -l local log data ** -r remote log data ** -b back trace data ** -f forward trace data ** Range parameters ** -s Starting AFD hostname/alias/ID. ** -e Ending AFD hostname/alias/ID. ** -t [-] Time frame at starting point. ** -T [-] Time frame at end point. ** -L Search only in given log type. ** Log type can be: ** I - Input Log ** U - Distribution Log ** P - Production Log ** C - Output Log confirmed ** R - Output Log retrieved ** O - Output Log delivered ** D - Delete Log ** Default: IUPOD ** -g