Skip to content

[include-cleaner] rename enabled flags by default to --disable-* #132983

@hulxv

Description

@hulxv

related to #129671

Putting flags and enabling it by default confuses the user, so it should be renamed to --disable-* to avoid that confusion.

cl::opt<bool> Insert{
"insert",
cl::desc("Allow header insertions"),
cl::init(true),
cl::cat(IncludeCleaner),
};
cl::opt<bool> Remove{
"remove",
cl::desc("Allow header removals"),
cl::init(true),
cl::cat(IncludeCleaner),
};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions