--leave-files is now --keep-files

This commit is contained in:
Timothy Sutton 2013-09-18 10:08:23 -04:00
parent 05f44e5de6
commit 065e60f6f9
3 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,7 @@
0.2.1 (Unreleased)
- update dmg2iso to 1.6.5
- '-l/--leave-files' is now '-k/--keep-files', following the naming pattern
most other utilities use when keeping files around.
0.2.0 (August 4, 2013)
- fix issues with Boot Camp installer not installing certain packages

View file

@ -47,7 +47,7 @@ Options:
into a folder named after the product, ie.
'BootCamp-041-1234'. Uses the current directory if
this option is omitted.
-l, --leave-files Leave the files that were downloaded/extracted. Useful
-k, --keep-files Keep the files that were downloaded/extracted. Useful
only with the '--install' option on Windows.</code></pre>
You can also create a `brigadier.plist` XML plist file and place it in the same directory as the script. It currently supports one key: `CatalogURL`, a string that points to an internal SUS catalog URL that contains BootCampESD packages. See the example [in this repo](https://github.com/timsutton/brigadier/blob/master/plist-example/brigadier.plist).
@ -58,7 +58,7 @@ It's common to perform the Boot Camp drivers during a post-imaging Sysprep phase
There is one workaround performed by the script when running in this scenario, where the current working would normally be `\windows\system32`. In my tests on a 64-bit system, the MSI would halt trying to locate its installer components, due to the way Windows forks its `System32` folder into `SysWoW64` for 32-bit applications. When the script detects this working directory without a `--output-dir` option overriding it, it will set the output directory to the root of the system, ie. `%SystemRoot%\`.
By default, when `--install` is used, it will clean up its extracted files after installation, unless the `--leave-files` option is given, so unless you want to keep the files around you shouldn't need to clean up after it.
By default, when `--install` is used, it will clean up its extracted files after installation, unless the `--keep-files` option is given, so unless you want to keep the files around you shouldn't need to clean up after it.
## Running/building from source on Windows

View file

@ -117,8 +117,8 @@ Can be used on Windows only.")
o.add_option('-o', '--output-dir',
help="Base path where the installer files will be extracted into a folder named after the \
product, ie. 'BootCamp-041-1234'. Uses the current directory if this option is omitted.")
o.add_option('-l', '--leave-files', action="store_true",
help="Leave the files that were downloaded/extracted. Useful only with the \
o.add_option('-k', '--keep-files', action="store_true",
help="Keep the files that were downloaded/extracted. Useful only with the \
'--install' option on Windows.")
opts, args = o.parse_args()