dtc: Update the usage helper message
PATCH 1/1 dtc: Update the usage helper message
if #define DEFAULT_FDT_VERSION 17
The message
Blob version to produce, defaults to %d (for dtb and asm output)
should be
Blob version to produce, defaults to 17 (for dtb and asm output)
This patch fix it, and delete the redundant 't'.
--- dtc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
dtc.c +4 -2
@@ -48,6 +48,8 @@ static void fill_fullpaths(struct node *tree, const char *prefix) }/* Usage related data. */ +#define FDT_VERSION (version) _FDT_VERSION(version) +#define _FDT_VERSION (version) #versionstatic const char usage_synopsis[] ="dtc [options] <input file>" ;static const char usage_short_opts[] ="qI:O:o:V:d:R:S:p:fb:i:H:sW:E:hv" ;static struct option const usage_long_opts[] = {
@@ -82,9 +84,9 @@ static const char * const usage_opts_help[] = {"\t\tdts - device tree source text\n" "\t\tdtb - device tree blob\n" "\t\tasm - assembler source" , -"\n\tBlob version to produce, defaults to %d (for dtb and asm output)" ,//, DEFAULT_FDT_VERSION); + "\n\tBlob version to produce, defaults to "FDT_VERSION(DEFAULT_FDT_VERSION)" (for dtb and asm output)","\n\tOutput dependency file" , -"\n\ttMake space for <number> reserve map entries (for dtb and asm output)" , +"\n\tMake space for <number> reserve map entries (for dtb and asm output)" ,"\n\tMake the blob at least <bytes> long (extra space)" ,"\n\tAdd padding to the blob of <bytes> long (extra space)" , "\n\tSet the physical boot cpu",
Signature · 6 lines
1.8.3.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1410419797-93754-1-git-send-email-long.wanglong-hv44wF8Li93QT0dZR+AlfA@public.gmane.org
David Gibson
AppliedQuoted 9 lines · Wang Long
if #define
DEFAULT_FDT_VERSION17
The message
Blob version to produce, defaults to %d (for dtb and asm output)
should be
Blob version to produce, defaults to 17 (for dtb and asm output)This patch fix it, and delete the redundant 't'.
Signed-off-by Wang Long <[email protected]>
Applied, thanks.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Mike Frysinger
Acked-byQuoted 7 lines · On Thu 11 Sep 2014 15:16:37 Wang Long wrote:
if #define
DEFAULT_FDT_VERSION17
The message
Blob version to produce, defaults to %d (for dtb and asm output)
should be
Blob version to produce, defaults to 17 (for dtb and asm output)This patch fix it, and delete the redundant 't'.
-mike