summaryrefslogtreecommitdiffstats
path: root/text-utils/column.c
diff options
context:
space:
mode:
authorKarel Zak2017-03-29 12:00:48 +0200
committerKarel Zak2017-05-02 12:18:00 +0200
commit01e335c9e49707e3361c1e15cfe712ac0958133f (patch)
treea164727244d41eef41d841ac825c63f57fd90263 /text-utils/column.c
parentcolumn: fix greedy initialization (diff)
downloadkernel-qcow2-util-linux-01e335c9e49707e3361c1e15cfe712ac0958133f.tar.gz
kernel-qcow2-util-linux-01e335c9e49707e3361c1e15cfe712ac0958133f.tar.xz
kernel-qcow2-util-linux-01e335c9e49707e3361c1e15cfe712ac0958133f.zip
column: rename options
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/column.c')
-rw-r--r--text-utils/column.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/text-utils/column.c b/text-utils/column.c
index ab700ab01..0db8fd504 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -412,8 +412,8 @@ static void __attribute__((__noreturn__)) usage(int rc)
fputs(USAGE_OPTIONS, out);
fputs(_(" -J, --json use JSON output format for table\n"), out);
fputs(_(" -t, --table create a table\n"), out);
- fputs(_(" -N, --table-colnames <names> comma separated columns names\n"), out);
- fputs(_(" -R, --table-colright <columns> right align text in these columns\n"), out);
+ fputs(_(" -N, --table-columns <names> comma separated columns names\n"), out);
+ fputs(_(" -R, --table-right <columns> right align text in these columns\n"), out);
fputs(_(" -n, --table-name <name> table name for JSON output\n"), out);
fputs(_(" -s, --separator <string> possible table delimiters\n"), out);
fputs(_(" -o, --output-separator <string> columns separator for table output\n"
@@ -449,8 +449,8 @@ int main(int argc, char **argv)
{ "output-width", required_argument, NULL, 'c' },
{ "separator", required_argument, NULL, 's' },
{ "table", no_argument, NULL, 't' },
- { "table-colnames", required_argument, NULL, 'N' },
- { "table-colright", required_argument, NULL, 'R' },
+ { "table-columns", required_argument, NULL, 'N' },
+ { "table-right", required_argument, NULL, 'R' },
{ "table-name", required_argument, NULL, 'n' },
{ "version", no_argument, NULL, 'V' },
{ NULL, 0, NULL, 0 },