getopt.add_option('A', "conf-all", conf_all, GetOpt::NO_ARG);
getopt.add_option('B', "build-all", build_all, GetOpt::NO_ARG);
getopt.add_option('C', "chdir", work_dir, GetOpt::REQUIRED_ARG);
getopt.add_option('A', "conf-all", conf_all, GetOpt::NO_ARG);
getopt.add_option('B', "build-all", build_all, GetOpt::NO_ARG);
getopt.add_option('C', "chdir", work_dir, GetOpt::REQUIRED_ARG);
getopt.add_option('W', "what-if", what_if, GetOpt::REQUIRED_ARG);
getopt.add_option('W', "what-if", what_if, GetOpt::REQUIRED_ARG);
getopt.add_option( "conf-only", conf_only, GetOpt::NO_ARG);
getopt.add_option( "full-paths", full_paths, GetOpt::NO_ARG);
//getopt.add_option( "makefile", create_makefile, GetOpt::NO_ARG);
getopt.add_option( "conf-only", conf_only, GetOpt::NO_ARG);
getopt.add_option( "full-paths", full_paths, GetOpt::NO_ARG);
//getopt.add_option( "makefile", create_makefile, GetOpt::NO_ARG);
- const list<string> &args=getopt.get_args();
- for(list<string>::const_iterator i=args.begin(); i!=args.end(); ++i)
+ const vector<string> &args=getopt.get_args();
+ for(vector<string>::const_iterator i=args.begin(); i!=args.end(); ++i)
" -A, --conf-all Apply configuration to all packages.\n"
" -B, --build-all Build all targets unconditionally.\n"
" -C, --chdir DIR Change to DIR before doing anything else.\n"
" -A, --conf-all Apply configuration to all packages.\n"
" -B, --build-all Build all targets unconditionally.\n"
" -C, --chdir DIR Change to DIR before doing anything else.\n"
" --conf-only Stop after configuring packages.\n"
" --full-paths Output full paths in analysis.\n"
//" --makefile Create a makefile for this package.\n"
" --conf-only Stop after configuring packages.\n"
" --full-paths Output full paths in analysis.\n"
//" --makefile Create a makefile for this package.\n"