projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reset i2c slave devices during init on mpc5xxx cpus
[oweals/u-boot.git]
/
common
/
cmd_setexpr.c
diff --git
a/common/cmd_setexpr.c
b/common/cmd_setexpr.c
index 2e49b6dd9281c9229f4c7357aa78dd49db646a2b..f8b5d4dcfe8cc2f2208a6a59641d5bfb1da519f1 100644
(file)
--- a/
common/cmd_setexpr.c
+++ b/
common/cmd_setexpr.c
@@
-35,7
+35,7
@@
int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/* Validate arguments */
if ((argc != 5) || (strlen(argv[3]) != 1)) {
/* Validate arguments */
if ((argc != 5) || (strlen(argv[3]) != 1)) {
-
printf("Usage:\n%s\n", cmdtp->usage
);
+
cmd_usage(cmdtp
);
return 1;
}
return 1;
}
@@
-63,8
+63,8
@@
int do_setexpr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
setexpr, 5, 0, do_setexpr,
U_BOOT_CMD(
setexpr, 5, 0, do_setexpr,
- "set
expr - set environment variable as the result of eval expression\
n",
+ "set
environment variable as the result of eval expressio
n",
"name value1 <op> value2\n"
" - set environment variable 'name' to the result of the evaluated\n"
"name value1 <op> value2\n"
" - set environment variable 'name' to the result of the evaluated\n"
- " express specified by <op>. <op> can be &, |, ^, +, -, *, /, %
\n
"
+ " express specified by <op>. <op> can be &, |, ^, +, -, *, /, %"
);
);