]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/siemens/pcu_e/pcu_e.c
cmd_usage(): simplify return code handling
[people/ms/u-boot.git] / board / siemens / pcu_e / pcu_e.c
index 14d75ea4296fd282dbd78e6be6fb4f71ea984950..97952844f945731a6bbdc286716c600a48aff458 100644 (file)
@@ -399,8 +399,7 @@ int do_puma (cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
        default:
                break;
        }
-       cmd_usage(cmdtp);
-       return 1;
+       return cmd_usage(cmdtp);
 }
 
 U_BOOT_CMD (puma, 4, 1, do_puma,