Index: shell/subcmds/clean_cmd.py |
diff --git a/shell/subcmds/clean_cmd.py b/shell/subcmds/clean_cmd.py |
index 6ceab8859300e9987b886127a9ca11a4e4694cf1..d4f7b18788ccf50a2d9ca468423efc2732b8467a 100644 |
--- a/shell/subcmds/clean_cmd.py |
+++ b/shell/subcmds/clean_cmd.py |
@@ -114,11 +114,9 @@ class CleanCmd(subcmd.ChromiteCmd): |
usage_str = ('usage: %%prog [chromite_options] %s [options] [target]' % |
raw_argv[0]) |
parser = optparse.OptionParser(usage=usage_str) |
- # This option won't work until a later CL plumbs in optparse |
- #parser.add_option('-y', '--yes', default=False, action='store_true', |
- #help='Answer "YES" to "are you sure?" questions.') |
+ parser.add_option('-y', '--yes', default=False, action='store_true', |
+ help='Answer "YES" to "are you sure?" questions.') |
(options, argv) = parser.parse_args(raw_argv[1:]) |
- options.yes = False |
# Make sure the chroot exists first, before possibly prompting for board... |
# ...not really required, but nice for the user... |