//
// aegis - project change supervisor
// Copyright (C) 2006-2008 Peter Miller;
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License,
// version 3, as published by the Free Software Foundation.
//
// 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, see
// .
//
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
enum
{
arglex_token_script = ARGLEX2_MAX,
arglex_token_search_path,
arglex_token_target,
ARGLEX3_MAX
};
static arglex_table_ty argtab[] =
{
{ "-SCRipt", arglex_token_script, },
{ "-Search_Path", arglex_token_search_path, },
{ "-TArget", arglex_token_target, },
ARGLEX_END_MARKER
};
static void
usage()
{
const char *prog = progname_get();
fprintf(stderr, "Usage: %s [