diff options
author | Francesco Cosoleto | 2010-03-26 01:13:29 +0100 |
---|---|---|
committer | Karel Zak | 2010-03-31 17:27:09 +0200 |
commit | eaa7716fae98be329db877bf137ad98b4335760f (patch) | |
tree | d26a218b14a6703ed425b243e9360e2ea7c628ad | |
parent | fdisk: replace bzero with memset (diff) | |
download | kernel-qcow2-util-linux-eaa7716fae98be329db877bf137ad98b4335760f.tar.gz kernel-qcow2-util-linux-eaa7716fae98be329db877bf137ad98b4335760f.tar.xz kernel-qcow2-util-linux-eaa7716fae98be329db877bf137ad98b4335760f.zip |
blockdev: reduce usage text width
Use spaces in usage text instead of tabs and reduce the distance between
option names and descriptions.
This helps to minimize problems due to limited number of columns and
translated texts which take up more space than English.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
-rw-r--r-- | disk-utils/blockdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index 288c102df..eeaf2f5c6 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -183,15 +183,15 @@ usage(void) { fputc('\n', stderr); fprintf(stderr, _("Available commands:\n")); - fprintf(stderr, "\t%-30s %s\n", "--getsz", + fprintf(stderr, " %-25s %s\n", "--getsz", _("get size in 512-byte sectors")); for (i = 0; i < ARRAY_SIZE(bdcms); i++) { if (bdcms[i].argname) - fprintf(stderr, "\t%s %-*s %s\n", bdcms[i].name, - (int) (29 - strlen(bdcms[i].name)), + fprintf(stderr, " %s %-*s %s\n", bdcms[i].name, + (int) (24 - strlen(bdcms[i].name)), bdcms[i].argname, _(bdcms[i].help)); else - fprintf(stderr, "\t%-30s %s\n", bdcms[i].name, + fprintf(stderr, " %-25s %s\n", bdcms[i].name, _(bdcms[i].help)); } fputc('\n', stderr); |