/* This file is part of NSsync -*- c -*-
Copyright (C) 2011-2017 Sergey Poznyakoff
NSsync 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 3, or (at your option)
any later version.
NSsync 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 NSsync. If not, see . */
#ifdef HAVE_GETOPT_H
# include
#endif
#include
static struct grecs_txtacc *pp_cmd_acc;
static char *program_name;
OPTIONS_BEGIN("nssync",
[],
[<>],
[],
[],
[])
OPTION(lint,t,,
[])
BEGIN
lint_mode = 1;
END
OPTION(,E,,
[])
BEGIN
preprocess_only = 1;
END
OPTION(dry-run,n,,
[])
BEGIN
debug_level++;
dry_run_mode = 1;
END
OPTION(force,f,,
[])
BEGIN
force = 1;
END
OPTION(config-file,c,FILE,
[