diff --git a/cmd/tablizer.go b/cmd/tablizer.go index 9385733..6454c42 100644 --- a/cmd/tablizer.go +++ b/cmd/tablizer.go @@ -6,7 +6,7 @@ NAME SYNOPSIS Usage: - tablizer [regex,...] [file, ...] [flags] + tablizer [regex,...] [-r file] [flags] Operational Flags: -c, --columns string Only show the speficied columns (separated by ,) @@ -41,12 +41,13 @@ SYNOPSIS -t, --sort-time sort according to time string Other Flags: - --completion Generate the autocompletion script for - -f, --config Configuration file (default: ~/.config/tablizer/config) - -d, --debug Enable debugging - -h, --help help for tablizer - -m, --man Display manual page - -V, --version Print program version + -r --read-file Use as input instead of STDIN + --completion Generate the autocompletion script for + -f, --config Configuration file (default: ~/.config/tablizer/config) + -d, --debug Enable debugging + -h, --help help for tablizer + -m, --man Display manual page + -V, --version Print program version DESCRIPTION Many programs generate tabular output. But sometimes you need to @@ -441,7 +442,7 @@ AUTHORS var usage = ` Usage: - tablizer [regex,...] [file, ...] [flags] + tablizer [regex,...] [-r file] [flags] Operational Flags: -c, --columns string Only show the speficied columns (separated by ,) @@ -476,12 +477,13 @@ Sort Mode Flags (mutually exclusive): -t, --sort-time sort according to time string Other Flags: - --completion Generate the autocompletion script for - -f, --config Configuration file (default: ~/.config/tablizer/config) - -d, --debug Enable debugging - -h, --help help for tablizer - -m, --man Display manual page - -V, --version Print program version + -r --read-file Use as input instead of STDIN + --completion Generate the autocompletion script for + -f, --config Configuration file (default: ~/.config/tablizer/config) + -d, --debug Enable debugging + -h, --help help for tablizer + -m, --man Display manual page + -V, --version Print program version ` diff --git a/tablizer.1 b/tablizer.1 index 415e68e..7c24798 100644 --- a/tablizer.1 +++ b/tablizer.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "TABLIZER 1" -.TH TABLIZER 1 "2025-08-28" "1" "User Commands" +.TH TABLIZER 1 "2025-09-11" "1" "User Commands" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -144,7 +144,7 @@ tablizer \- Manipulate tabular output of other programs .IX Header "SYNOPSIS" .Vb 2 \& Usage: -\& tablizer [regex,...] [file, ...] [flags] +\& tablizer [regex,...] [\-r file] [flags] \& \& Operational Flags: \& \-c, \-\-columns string Only show the speficied columns (separated by ,) @@ -179,12 +179,13 @@ tablizer \- Manipulate tabular output of other programs \& \-t, \-\-sort\-time sort according to time string \& \& Other Flags: -\& \-\-completion Generate the autocompletion script for -\& \-f, \-\-config Configuration file (default: ~/.config/tablizer/config) -\& \-d, \-\-debug Enable debugging -\& \-h, \-\-help help for tablizer -\& \-m, \-\-man Display manual page -\& \-V, \-\-version Print program version +\& \-r \-\-read\-file Use as input instead of STDIN +\& \-\-completion Generate the autocompletion script for +\& \-f, \-\-config Configuration file (default: ~/.config/tablizer/config) +\& \-d, \-\-debug Enable debugging +\& \-h, \-\-help help for tablizer +\& \-m, \-\-man Display manual page +\& \-V, \-\-version Print program version .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" diff --git a/tablizer.pod b/tablizer.pod index 5dbd166..5250703 100644 --- a/tablizer.pod +++ b/tablizer.pod @@ -5,7 +5,7 @@ tablizer - Manipulate tabular output of other programs =head1 SYNOPSIS Usage: - tablizer [regex,...] [file, ...] [flags] + tablizer [regex,...] [-r file] [flags] Operational Flags: -c, --columns string Only show the speficied columns (separated by ,) @@ -40,12 +40,13 @@ tablizer - Manipulate tabular output of other programs -t, --sort-time sort according to time string Other Flags: - --completion Generate the autocompletion script for - -f, --config Configuration file (default: ~/.config/tablizer/config) - -d, --debug Enable debugging - -h, --help help for tablizer - -m, --man Display manual page - -V, --version Print program version + -r --read-file Use as input instead of STDIN + --completion Generate the autocompletion script for + -f, --config Configuration file (default: ~/.config/tablizer/config) + -d, --debug Enable debugging + -h, --help help for tablizer + -m, --man Display manual page + -V, --version Print program version =head1 DESCRIPTION