10 #include "packager/app/retired_flags.h"
14 DEFINE_string(profile,
"",
"This flag is deprecated. Do not use.");
15 DEFINE_bool(single_segment,
true,
"This flag is deprecated. Do not use.");
21 bool InformRetiredStringFlag(
const char* flagname,
const std::string& value) {
23 fprintf(stderr,
"WARNING: %s is deprecated and ignored.\n", flagname);
27 bool InformRetiredDefaultTrueFlag(
const char* flagname,
bool value) {
29 fprintf(stderr,
"WARNING: %s is deprecated and ignored.\n", flagname);
33 DEFINE_validator(profile, &InformRetiredStringFlag);
34 DEFINE_validator(single_segment, &InformRetiredDefaultTrueFlag);