diff options
| author | Karel Zak <kzak@redhat.com> | 2013-08-30 13:34:16 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2013-09-16 16:47:08 +0200 |
| commit | 9564e46ce21cd0c6ef99e3df9a52197793288f24 (patch) | |
| tree | b76e02446e306c7fec2443f910397921c95fc839 /fdisks/fdisk.c | |
| parent | 5b72b3dd8e9236b0154a9c98d9ba55323f65488c (diff) | |
| download | util-linux-9564e46ce21cd0c6ef99e3df9a52197793288f24.tar.gz | |
fdisk: mark -s option as deprecated
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.c')
| -rw-r--r-- | fdisks/fdisk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c index 36d42661..905aaa19 100644 --- a/fdisks/fdisk.c +++ b/fdisks/fdisk.c @@ -53,7 +53,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out) fprintf(out, _(" %1$s [options] <disk> change partition table\n" " %1$s [options] -l <disk> list partition table(s)\n" - " %1$s -s <partition> give partition size(s) in blocks\n"), + " %1$s -s <partition> give partition size(s) in blocks (deprecated)\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); @@ -451,6 +451,7 @@ int main(int argc, char **argv) break; case ACT_SHOWSIZE: + /* deprecated */ if (argc - optind <= 0) usage(stderr); |
