diff options
author | Karel Zak | 2015-01-14 12:07:52 +0100 |
---|---|---|
committer | Karel Zak | 2015-01-14 12:07:52 +0100 |
commit | 2d7dffebac9faab497340b695b6e976e1ccca652 (patch) | |
tree | 26e4ed14306c0426e8d706f7b83a94d44e253284 /disk-utils/fdisk.c | |
parent | docs: update AUTHORS file (diff) | |
download | kernel-qcow2-util-linux-2d7dffebac9faab497340b695b6e976e1ccca652.tar.gz kernel-qcow2-util-linux-2d7dffebac9faab497340b695b6e976e1ccca652.tar.xz kernel-qcow2-util-linux-2d7dffebac9faab497340b695b6e976e1ccca652.zip |
fdisk: add --output to usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk.c')
-rw-r--r-- | disk-utils/fdisk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 9c3e10335..bc1a231e3 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -644,6 +644,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fputs(_(" -c, --compatibility[=<mode>] mode is 'dos' or 'nondos' (default)\n"), out); fputs(_(" -L, --color[=<when>] colorize output (auto, always or never)\n"), out); fputs(_(" -l, --list display partitions end exit\n"), out); + fputs(_(" -o, --output <list> output columns\n"), out); fputs(_(" -t, --type <type> recognize specified partition table type only\n"), out); fputs(_(" -u, --units[=<unit>] display units: 'cylinders' or 'sectors' (default)\n"), out); fputs(_(" -s, --getsz display device size in 512-byte sectors [DEPRECATED]\n"), out); @@ -690,6 +691,7 @@ int main(int argc, char **argv) { "type", required_argument, NULL, 't' }, { "units", optional_argument, NULL, 'u' }, { "version", no_argument, NULL, 'V' }, + { "output", no_argument, NULL, 'o' }, { NULL, 0, NULL, 0 } }; |