diff options
author | Brian Woods | 2019-10-24 10:50:42 -0700 |
---|---|---|
committer | Stefano Stabellini | 2019-10-24 12:38:58 -0700 |
commit | 9969368263a8cdeb03ab0bac9a4804d414719ea8 (patch) | |
tree | 28df937c4c6802dce7fbb9233f5fab1684eb4477 | |
parent | 76765e109ec80e53d67fea5400e36f6464562046 (diff) |
Fix help message formatting in uboot-script-gen
There was a mixure of spaces and tabs in the help message of
uboot-script-gen. Fix it to only use tabs like disk_image's help
message.
Signed-off-by: Brian Woods <brian.woods@xilinx.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
-rw-r--r-- | scripts/uboot-script-gen | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index 2977066..2232f7a 100644 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -146,20 +146,20 @@ function check_depends() function print_help { echo "usage:" - echo " $0 -c CONFIG_FILE -t UBOOT_TYPE -d DIRECTORY" - echo " $0 -h" + echo " $0 -c CONFIG_FILE -t UBOOT_TYPE -d DIRECTORY" + echo " $0 -h" echo "where:" echo " CONFIG_FILE - configuration file" echo " UBOOT_TYPE can be:" echo " sd - alias for \"scsi load 0:1\" for uboot load commands" echo " tftp - alias for \"tftpb\" for uboot load cammnds" - echo " < > - used for uboot load commands" + echo " < > - used for uboot load commands" echo " DIRECTORY - root directory of where the files of CONFIG_FILE" echo " -h - prints out the help message and exits " echo "Defaults:" echo " CONFIG_FILE=$cfg_file, UBOOT_TYPE=\"LOAD_CMD\" env var, DIRECTORY=$uboot_dir" echo "Example:" - echo " $0 -c ../config -d ./build42 -t \"scsi load 1:1\"" + echo " $0 -c ../config -d ./build42 -t \"scsi load 1:1\"" } while getopts ":c:t:d:h" opt; do |