Closed Ircama closed 3 years ago
I'd prefer you not to reformat the code at all, but if you are then please make it a different commit (or even a different PR), otherwise it makes it harder to focus on the substantive changes when reviewing.
@pelwell you are right, I'll update the PR
PR revised to only keep the --download-only
option. I'll use another PR for the improved error message. (I will leave out the older last point related to formatting with black.)
download-only option
Added --download-only option, to just download the kernel source tarball, without unpacking and installing it. Sometimes it is not required to have the whole kernel unpacked, but just a single directory, that can be easily extracted from the tarball, like in the following example:
[edit: revised code to only keep download-only option]