fix #64: documented -r parameter

This commit is contained in:
2025-09-11 19:01:11 +02:00
parent 24277cd716
commit 9cb9a66332
3 changed files with 33 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ NAME
SYNOPSIS SYNOPSIS
Usage: Usage:
tablizer [regex,...] [file, ...] [flags] tablizer [regex,...] [-r file] [flags]
Operational Flags: Operational Flags:
-c, --columns string Only show the speficied columns (separated by ,) -c, --columns string Only show the speficied columns (separated by ,)
@@ -41,12 +41,13 @@ SYNOPSIS
-t, --sort-time sort according to time string -t, --sort-time sort according to time string
Other Flags: Other Flags:
--completion <shell> Generate the autocompletion script for <shell> -r --read-file <file> Use <file> as input instead of STDIN
-f, --config <file> Configuration file (default: ~/.config/tablizer/config) --completion <shell> Generate the autocompletion script for <shell>
-d, --debug Enable debugging -f, --config <file> Configuration file (default: ~/.config/tablizer/config)
-h, --help help for tablizer -d, --debug Enable debugging
-m, --man Display manual page -h, --help help for tablizer
-V, --version Print program version -m, --man Display manual page
-V, --version Print program version
DESCRIPTION DESCRIPTION
Many programs generate tabular output. But sometimes you need to Many programs generate tabular output. But sometimes you need to
@@ -441,7 +442,7 @@ AUTHORS
var usage = ` var usage = `
Usage: Usage:
tablizer [regex,...] [file, ...] [flags] tablizer [regex,...] [-r file] [flags]
Operational Flags: Operational Flags:
-c, --columns string Only show the speficied columns (separated by ,) -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 -t, --sort-time sort according to time string
Other Flags: Other Flags:
--completion <shell> Generate the autocompletion script for <shell> -r --read-file <file> Use <file> as input instead of STDIN
-f, --config <file> Configuration file (default: ~/.config/tablizer/config) --completion <shell> Generate the autocompletion script for <shell>
-d, --debug Enable debugging -f, --config <file> Configuration file (default: ~/.config/tablizer/config)
-h, --help help for tablizer -d, --debug Enable debugging
-m, --man Display manual page -h, --help help for tablizer
-V, --version Print program version -m, --man Display manual page
-V, --version Print program version
` `

View File

@@ -133,7 +133,7 @@
.\" ======================================================================== .\" ========================================================================
.\" .\"
.IX Title "TABLIZER 1" .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 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents. .\" way too many mistakes in technical documents.
.if n .ad l .if n .ad l
@@ -144,7 +144,7 @@ tablizer \- Manipulate tabular output of other programs
.IX Header "SYNOPSIS" .IX Header "SYNOPSIS"
.Vb 2 .Vb 2
\& Usage: \& Usage:
\& tablizer [regex,...] [file, ...] [flags] \& tablizer [regex,...] [\-r file] [flags]
\& \&
\& Operational Flags: \& Operational Flags:
\& \-c, \-\-columns string Only show the speficied columns (separated by ,) \& \-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 \& \-t, \-\-sort\-time sort according to time string
\& \&
\& Other Flags: \& Other Flags:
\& \-\-completion <shell> Generate the autocompletion script for <shell> \& \-r \-\-read\-file <file> Use <file> as input instead of STDIN
\& \-f, \-\-config <file> Configuration file (default: ~/.config/tablizer/config) \& \-\-completion <shell> Generate the autocompletion script for <shell>
\& \-d, \-\-debug Enable debugging \& \-f, \-\-config <file> Configuration file (default: ~/.config/tablizer/config)
\& \-h, \-\-help help for tablizer \& \-d, \-\-debug Enable debugging
\& \-m, \-\-man Display manual page \& \-h, \-\-help help for tablizer
\& \-V, \-\-version Print program version \& \-m, \-\-man Display manual page
\& \-V, \-\-version Print program version
.Ve .Ve
.SH "DESCRIPTION" .SH "DESCRIPTION"
.IX Header "DESCRIPTION" .IX Header "DESCRIPTION"

View File

@@ -5,7 +5,7 @@ tablizer - Manipulate tabular output of other programs
=head1 SYNOPSIS =head1 SYNOPSIS
Usage: Usage:
tablizer [regex,...] [file, ...] [flags] tablizer [regex,...] [-r file] [flags]
Operational Flags: Operational Flags:
-c, --columns string Only show the speficied columns (separated by ,) -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 -t, --sort-time sort according to time string
Other Flags: Other Flags:
--completion <shell> Generate the autocompletion script for <shell> -r --read-file <file> Use <file> as input instead of STDIN
-f, --config <file> Configuration file (default: ~/.config/tablizer/config) --completion <shell> Generate the autocompletion script for <shell>
-d, --debug Enable debugging -f, --config <file> Configuration file (default: ~/.config/tablizer/config)
-h, --help help for tablizer -d, --debug Enable debugging
-m, --man Display manual page -h, --help help for tablizer
-V, --version Print program version -m, --man Display manual page
-V, --version Print program version
=head1 DESCRIPTION =head1 DESCRIPTION