diff options
Diffstat (limited to 'commands/imd.c')
-rw-r--r-- | commands/imd.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/commands/imd.c b/commands/imd.c index f1a22cef96..9f7ac79f8f 100644 --- a/commands/imd.c +++ b/commands/imd.c @@ -1,20 +1,5 @@ -/* - * (C) Copyright 2014 Sascha Hauer, Pengutronix - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: © 2014 Sascha Hauer, Pengutronix #include <common.h> #include <command.h> @@ -46,6 +31,9 @@ BAREBOX_CMD_HELP_TEXT("Options:") BAREBOX_CMD_HELP_OPT ("-t <type>", "only show information of <type>") BAREBOX_CMD_HELP_OPT ("-n <no>", "for tags with multiple strings only show string <no>") BAREBOX_CMD_HELP_OPT ("-s VARNAME", "set variable VARNAME instead of showing information") +BAREBOX_CMD_HELP_OPT ("-v", "Be verbose") +BAREBOX_CMD_HELP_OPT ("-V", "Verify checksum of FILE") +BAREBOX_CMD_HELP_OPT ("-c", "Create checksum for FILE and write it to the crc32 tag.") BAREBOX_CMD_HELP_TEXT("") BAREBOX_CMD_HELP_TEXT("Without options all information available is printed. Valid types are:") BAREBOX_CMD_HELP_TEXT("release, build, model, of_compatible") |