summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2016-09-07 16:51:23 -0400
committerchrome-bot <chrome-bot@chromium.org>2016-09-08 06:15:10 -0700
commit6764405c93664efcf9742bf4973225099f65b6ec (patch)
tree6c0ff09f4fd9df5ba0876a61915273b201627f0e
parentc60eb7e735bbd6d401d7c3c73a7950461cd86d05 (diff)
downloadvboot-6764405c93664efcf9742bf4973225099f65b6ec.tar.gz
cgpt: fix -A documentation to match reality
The documentation claims the -A option shows the raw 64-bit attributes field when in reality it only shows the high reserved 16-bits. Change the docs to match the code. BUG=chromium:644845 TEST=vboot_reference unittests pass BRANCH=None Change-Id: If163896ddbca0dc27ac8205db313031e73a68fd7 Reviewed-on: https://chromium-review.googlesource.com/382431 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
-rw-r--r--cgpt/cmd_add.c2
-rw-r--r--cgpt/cmd_show.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cgpt/cmd_add.c b/cgpt/cmd_add.c
index 0d5ad0d6..ca379a22 100644
--- a/cgpt/cmd_add.c
+++ b/cgpt/cmd_add.c
@@ -27,7 +27,7 @@ static void Usage(void)
" -S NUM set Successful flag (0|1)\n"
" -T NUM set Tries flag (0-15)\n"
" -P NUM set Priority flag (0-15)\n"
- " -A NUM set raw 64-bit attribute value\n"
+ " -A NUM set raw 16-bit attribute value (bits 48-63)\n"
"\n"
"Use the -i option to modify an existing partition.\n"
"The -b, -s, and -t options must be given for new partitions.\n"
diff --git a/cgpt/cmd_show.c b/cgpt/cmd_show.c
index c5a5f445..860d80e7 100644
--- a/cgpt/cmd_show.c
+++ b/cgpt/cmd_show.c
@@ -32,7 +32,7 @@ static void Usage(void)
" -S Successful flag\n"
" -T Tries flag\n"
" -P Priority flag\n"
- " -A raw 64-bit attribute value\n"
+ " -A raw 16-bit attribute value (bits 48-63)\n"
" -d Debug output (including invalid headers)\n"
"\n", progname);
}