Skip to content

Commit

Permalink
fix: remove currently non-functioning argument
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed May 28, 2024
1 parent 1e2cf7f commit 8d25259
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 42 deletions.
34 changes: 8 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@ Kernel build process can be launched using the `kernel` subcommand.

```help
$ python3 builder kernel --help
usage: builder kernel [-h] --build-env {local,docker,podman} --base
{los,pa,x,aosp} --codename CODENAME --lkv LKV [-c]
[--clean-image] [--log-level {normal,verbose,quiet}]
[-o OUTLOG] [--ksu]
usage: builder kernel [-h] --build-env {local,docker,podman} --base {los,pa,x,aosp}
--codename CODENAME --lkv LKV [-c] [--clean-image] [--ksu]
options:
-h, --help show this help message and exit
Expand All @@ -150,12 +148,7 @@ options:
-c, --clean don't build anything, only clean kernel directories
--clean-image remove Docker/Podman image from the host machine after
build
--log-level {normal,verbose,quiet}
select log level
-o OUTLOG, --output OUTLOG
save logs to a file
--ksu add KernelSU support
```

### Assets
Expand All @@ -164,10 +157,9 @@ As mentioned, there is also an asset downloader, which can collect latest versio

```help
$ python3 builder assets --help
usage: builder assets [-h] --build-env {local,docker,podman} --base
{los,pa,x,aosp} --codename CODENAME --chroot
{full,minimal} [--rom-only] [--clean-image] [--clean]
[--log-level {normal,verbose,quiet}] [-o OUTLOG] [--ksu]
usage: builder assets [-h] --build-env {local,docker,podman} --base {los,pa,x,aosp}
--codename CODENAME --chroot {full,minimal} [--rom-only]
[--clean-image] [--clean] [--ksu]
options:
-h, --help show this help message and exit
Expand All @@ -182,10 +174,6 @@ options:
--clean-image remove Docker/Podman image from the host machine after
build
--clean autoclean 'assets' folder if it exists
--log-level {normal,verbose,quiet}
select log level
-o OUTLOG, --output OUTLOG
save logs to a file
--ksu add KernelSU support
```

Expand All @@ -209,11 +197,9 @@ Option named `slim` is a much lighter version of `full` packaging, as only the R

```help
$ python3 builder bundle --help
usage: builder bundle [-h] --build-env {local,docker,podman} --base
{los,pa,x,aosp} --codename CODENAME --lkv LKV
--package-type {conan,slim,full} [--conan-upload]
[--clean-image] [--log-level {normal,verbose,quiet}]
[-o OUTLOG] [--ksu]
usage: builder bundle [-h] --build-env {local,docker,podman} --base {los,pa,x,aosp}
--codename CODENAME --lkv LKV --package-type
{conan,slim,full} [--conan-upload] [--clean-image] [--ksu]
options:
-h, --help show this help message and exit
Expand All @@ -228,10 +214,6 @@ options:
--conan-upload upload Conan packages to remote
--clean-image remove Docker/Podman image from the host machine after
build
--log-level {normal,verbose,quiet}
select log level
-o OUTLOG, --output OUTLOG
save logs to a file
--ksu add KernelSU support
```

Expand Down
16 changes: 0 additions & 16 deletions builder/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def parse_args() -> argparse.Namespace:
help_clean = "remove Docker/Podman image from the host machine after build"
choices_benv = ("local", "docker", "podman")
choices_base = ("los", "pa", "x", "aosp")
help_logfile = "save logs to a file"
help_ksu = "add KernelSU support"
help_lkv = "select Linux Kernel Version"
# kernel
Expand Down Expand Up @@ -73,11 +72,6 @@ def parse_args() -> argparse.Namespace:
dest="clean_image",
help=help_clean
)
parser_kernel.add_argument(
"-o", "--output",
dest="outlog",
help=help_logfile
)
parser_kernel.add_argument(
"--ksu",
action="store_true",
Expand Down Expand Up @@ -127,11 +121,6 @@ def parse_args() -> argparse.Namespace:
action="store_true",
help="autoclean 'assets' folder if it exists"
)
parser_assets.add_argument(
"-o", "--output",
dest="outlog",
help=help_logfile
)
parser_assets.add_argument(
"--ksu",
action="store_true",
Expand Down Expand Up @@ -181,11 +170,6 @@ def parse_args() -> argparse.Namespace:
dest="clean_image",
help=help_clean
)
parser_bundle.add_argument(
"-o", "--output",
dest="outlog",
help=help_logfile
)
parser_bundle.add_argument(
"--ksu",
action="store_true",
Expand Down

0 comments on commit 8d25259

Please sign in to comment.