summaryrefslogtreecommitdiffstats
path: root/commands/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/memcmp.c')
-rw-r--r--commands/memcmp.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/commands/memcmp.c b/commands/memcmp.c
index 76fbe078f0..8122b99f17 100644
--- a/commands/memcmp.c
+++ b/commands/memcmp.c
@@ -1,19 +1,5 @@
-/*
- * Copyright (c) 2011 Sascha Hauer <s.hauer@pengutronix.de>, 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 version 2
- * as published by the Free Software Foundation.
- *
- * 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-only
+// SPDX-FileCopyrightText: © 2011 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
/*
* Memory Functions
@@ -111,7 +97,7 @@ BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(memcmp)
.cmd = do_memcmp,
BAREBOX_CMD_DESC("memory compare")
- BAREBOX_CMD_OPTS("[-bwlsd] ADDR1 ADDR2 COUNT")
+ BAREBOX_CMD_OPTS("[-bwlq] [-s FILE] [-d FILE] ADDR1 ADDR2 COUNT")
BAREBOX_CMD_GROUP(CMD_GRP_MEM)
BAREBOX_CMD_HELP(cmd_memcmp_help)
BAREBOX_CMD_END