diff options
author | Eric Bénard <eric@eukrea.com> | 2011-01-07 17:35:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-08 13:26:48 +0100 |
commit | 22ef32569273aef7b614bc7ef2d602b5e1be7221 (patch) | |
tree | 10d1a796a6744512fa5fe0c42020d213c6f8ac34 /defaultenv | |
parent | a5734b08bd99268fb404a0561016e40531f130fd (diff) | |
download | barebox-22ef32569273aef7b614bc7ef2d602b5e1be7221.tar.gz barebox-22ef32569273aef7b614bc7ef2d602b5e1be7221.tar.xz |
_update_help: fix script name
$0 is _update_help so update -h leads to : usage: /env/bin/_update_help
so don't use $0 but hardcode update instead.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r-- | defaultenv/bin/_update_help | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaultenv/bin/_update_help b/defaultenv/bin/_update_help index 22d940e142..2f6a2b380e 100644 --- a/defaultenv/bin/_update_help +++ b/defaultenv/bin/_update_help @@ -1,6 +1,6 @@ #!/bin/sh -echo "usage: $0 -t <kernel|rootfs|barebox> -d <nor|nand> [-m tftp|xmodem] [-f imagename] -c" +echo "usage: update -t <kernel|rootfs|barebox> -d <nor|nand> [-m tftp|xmodem] [-f imagename] -c" echo "update tools." echo "" echo "options" |