Comment 2 for bug 191991

Revision history for this message
Alex Mauer (hawke) wrote :

Hmm, I would expect a '-r' option without a profile to reset to a "basic default" configuration (either an ACC pre-defined default profile, or to whatever had been set before acc was ever used.)

Obviously the use-case for /allowing/ a profile option to -r is useful (for the package removal case you describe).

In the last case, doesn't this mean that any user tweaking will completely break acc? If the reset command is run on a user-tweaked setup, I see two options for acc: either remove the user's manual changes (which you say is bad), or do nothing at all. Doing nothing is at least as bad as removing the manual changes. Consider this case: User sets acc to use a given profile; user hand-edits their configuration; user finds they've made a mistake and wants to reset it. If I understand correctly, now acc will refuse to remove the user's changes, and so the user is left with a broken configuration.