// // aegis - project change supervisor // Copyright (C) 2006-2008, 2011, 2012 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 #include #include #include #include #include enum { arglex_token_debug = ARGLEX2_MAX, arglex_token_script, arglex_token_target, arglex_token_target_list, arglex_token_flavour, arglex_token_flavour_list, ARGLEX3_MAX }; static arglex_table_ty argtab[] = { { "-Debug", arglex_token_debug, }, { "-FLavour", arglex_token_flavour, }, { "-List_Flavour", arglex_token_flavour_list, }, { "-List_Target", arglex_token_target_list, }, { "-SCRipt", arglex_token_script, }, { "-TArget", arglex_token_target, }, ARGLEX_END_MARKER }; static void usage(void) { const char *prog = progname_get(); fprintf(stderr, "Usage: %s [