|
23 | 23 |
|
24 | 24 | # pylint: disable=pointless-string-statement,wrong-import-position |
25 | 25 | """ |
26 | | - mock [options] {--init|--clean|--scrub=[all,chroot,cache,root-cache,c-cache,yum-cache,dnf-cache,lvm,overlayfs]} |
| 26 | + mock [options] {--init|--clean|--scrub=[all,bootstrap,chroot,cache,root-cache,c-cache,yum-cache,dnf-cache,lvm,overlayfs]} |
27 | 27 | mock [options] [--rebuild] /path/to/srpm(s) |
28 | 28 | mock [options] [--chain] /path/to/srpm(s) |
29 | 29 | mock [options] --buildsrpm {--spec /path/to/spec --sources /path/to/src| |
@@ -145,10 +145,10 @@ def command_parse(): |
145 | 145 | help="completely remove the specified chroot") |
146 | 146 | scrub_choices = ('chroot', 'cache', 'root-cache', 'c-cache', 'yum-cache', |
147 | 147 | 'dnf-cache', 'lvm', 'overlayfs', 'bootstrap', 'all') |
148 | | - scrub_metavar = "[all|chroot|cache|root-cache|c-cache|yum-cache|dnf-cache]" |
| 148 | + scrub_metavar = "[all|bootstrap|chroot|cache|root-cache|c-cache|yum-cache|dnf-cache]" |
149 | 149 | parser.add_option("--scrub", action='append', choices=scrub_choices, default=[], |
150 | 150 | metavar=scrub_metavar, |
151 | | - help="completely remove the specified chroot " |
| 151 | + help="completely remove the specified chroot, bootstrap chroot " |
152 | 152 | "or cache dir or all of the chroot and cache") |
153 | 153 | parser.add_option( |
154 | 154 | "--scrub-all-chroots", action="store_const", dest="mode", |
|
0 commit comments