summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2011-01-07 17:35:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-08 13:26:48 +0100
commit22ef32569273aef7b614bc7ef2d602b5e1be7221 (patch)
tree10d1a796a6744512fa5fe0c42020d213c6f8ac34
parenta5734b08bd99268fb404a0561016e40531f130fd (diff)
downloadbarebox-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>
-rw-r--r--defaultenv/bin/_update_help2
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"