Skip to content

common-init: Improve command help

Ricardo Ribalda Delgado requested to merge improve-arguments into main

Show an explanation for every argument. Eg:

ribalda@denia:~/work/media-ci$ sh test-build.sh --help
Usage: test-build.sh [--help] [--kernel_dir value] [--kernel_config value] [--arch value] [--cross_compile value] [--llvm value] [--ignore_warnings value] [--skip_clean value]
Arguments:
 --help: show this help
 --kernel_dir value: Location of the kernel directory. Eg:.
 --kernel_config value: Kernel configuration or config file. Eg: allyesconfig
 --arch value: Kernel architecture. Eg: arm64
 --cross_compile value: Cross-compile prefix. Eg: x86_64-linux-gnu-
 --llvm value: Enable llvm for kernel builds. Eg: 0
 --ignore_warnings value: Ignore warning during builds. Eg: 1
 --skip_clean value: Skip clean after succeed. Eg: 0

Signed-off-by: Ricardo Ribalda ribalda@chromium.org

Edited by Nicolas Dufresne

Merge request reports

Loading