]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_setexpr.c
i386: Fix link collisions resulting from gcc4.4.1 upgrade
[u-boot] / common / cmd_setexpr.c
index 2e49b6dd9281c9229f4c7357aa78dd49db646a2b..f8b5d4dcfe8cc2f2208a6a59641d5bfb1da519f1 100644 (file)
@@ -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)) {
-               printf("Usage:\n%s\n", cmdtp->usage);
+               cmd_usage(cmdtp);
                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,
-       "setexpr - set environment variable as the result of eval expression\n",
+       "set environment variable as the result of eval expression",
        "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 &, |, ^, +, -, *, /, %"
 );