We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-t
Right now the behaviour is not quite clear for people used to column, since the -t parameter can be omitted.
column
Enforcing using it may help in understanding that ONLY the "table mode" is supported
The program should exit with error if the -t parameter is not supplied, to make it clear that ONLY the "table" mode is supported.
$ printf "1 2 3" | column_ansi 1 2 3
$ printf "1 2 3" | column_ansi Error: column_ansi only supports the "table" mode from the original `column` command
Also, the inline help should refleact this change:
$ column_ansi.sh --help USAGE: column_ansi [-s SEPARATOR] [-o SEPARATOR] [-R COLUMNS] [-H COLUMNS] [-C COLUMNS] column_ansi --help OPTIONS: -t, --table Does nothing, was left for compatibility reasons. [DEFAULT]
$ column_ansi.sh --help USAGE: column_ansi -t [-s SEPARATOR] [-o SEPARATOR] [-R COLUMNS] [-H COLUMNS] [-C COLUMNS] column_ansi --help OPTIONS: -t, --table Create a table, required to make this behaviour explicit.
The text was updated successfully, but these errors were encountered:
LukeSavefrogs
No branches or pull requests
Problem
Right now the behaviour is not quite clear for people used to
column
, since the-t
parameter can be omitted.Enforcing using it may help in understanding that ONLY the "table mode" is supported
Solution
The program should exit with error if the
-t
parameter is not supplied, to make it clear that ONLY the "table" mode is supported.Also, the inline help should refleact this change:
The text was updated successfully, but these errors were encountered: