X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fcommand.h;h=200c7a5e9f4ed90e05474e69f7437f703e60e8c4;hb=2a055ea53260ac8addeeb94eb671172844bc9106;hp=56499b8ad5ca17bc61a4422f82afe9e72f3b2aad;hpb=e294ba0678359bc32085c1714329af37e33e8f16;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/command.h b/include/command.h index 56499b8..200c7a5 100644 --- a/include/command.h +++ b/include/command.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2000-2009 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -68,7 +67,9 @@ extern int cmd_auto_complete(const char *const prompt, char *buf, int *np, int * * * @cmdtp: Command which caused the error * @err: Error code (0 if none, -ve for error, like -EIO) - * @return 0 if there is not error, 1 (CMD_RET_FAILURE) if an error is found + * @return 0 (CMD_RET_SUCCESS) if there is not error, + * 1 (CMD_RET_FAILURE) if an error is found + * -1 (CMD_RET_USAGE) if 'usage' error is found */ int cmd_process_error(cmd_tbl_t *cmdtp, int err);