diff options
Diffstat (limited to 'cgpt/cmd_show.c')
-rw-r--r-- | cgpt/cmd_show.c | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/cgpt/cmd_show.c b/cgpt/cmd_show.c index 4d169f5e..ba19315a 100644 --- a/cgpt/cmd_show.c +++ b/cgpt/cmd_show.c @@ -17,27 +17,30 @@ extern const char* progname; static void Usage(void) { printf("\nUsage: %s show [OPTIONS] DRIVE\n\n" - "Display the GPT table\n\n" + "Display the GPT table.\n\n" + "Units are blocks by default.\n\n" "Options:\n" - " -D NUM Size (in bytes) of the disk where partitions reside\n" + " -D NUM Size (in bytes) of the disk where partitions reside;\n" " default 0, meaning partitions and GPT structs are\n" " both on DRIVE\n" " -n Numeric output only\n" " -v Verbose output\n" " -q Quick output\n" - " -i NUM Show specified partition only - pick one of:\n" - " -b beginning sector\n" - " -s partition size\n" - " -t type guid\n" - " -u unique guid\n" - " -l label\n" - " -S Successful flag\n" - " -T Tries flag\n" - " -P Priority flag\n" - " -R Required flag\n" - " -B Legacy Boot flag\n" - " -A raw 16-bit attribute value (bits 48-63)\n" + " -i NUM Show specified partition only\n" " -d Debug output (including invalid headers)\n" + "\n" + "When using -i, specific fields may be displayed using one of:\n" + " -b first block (a.k.a. start of partition)\n" + " -s partition size (in blocks)\n" + " -t type guid\n" + " -u unique guid\n" + " -l label\n" + " -S Successful flag\n" + " -T Tries flag\n" + " -P Priority flag\n" + " -R Required flag\n" + " -B Legacy Boot flag\n" + " -A raw 16-bit attribute value (bits 48-63)\n" "\n", progname); } |