Skip to content

Commit

Permalink
man, shell completion: add --null-output
Browse files Browse the repository at this point in the history
These changes were made automatically via scripts.
  • Loading branch information
gperciva committed Dec 21, 2024
1 parent 247cd78 commit 3ec409e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions misc/bash_completion.d/tarsnap
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ _tarsnap ()
--no-progress-bytes --no-quiet --no-retry-forever \
--no-snaptime --no-store-atime --no-totals --nodump \
--noisy-warnings --normalmem --nuke --null \
--numeric-owner --one-file-system --passphrase \
--print-stats --progress-bytes --quiet --recover \
--resume-extract --retry-forever --snaptime \
--null-output --numeric-owner --one-file-system \
--passphrase --print-stats --progress-bytes --quiet \
--recover --resume-extract --retry-forever --snaptime \
--store-atime --strip-components --totals \
--verify-config --version --verylowmem"

Expand Down
1 change: 1 addition & 0 deletions misc/zsh_completion/_tarsnap
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ _shtab_tarsnap__list_archives_options=(
"(- : *)"{-h,--help}"[show this help message and exit]"
"-f[specify hash of archive name to operate on (requires --hashes)]:tapehash"
"--hashes[make --list-archives print hashes]"
"--null-output[filenames in output are separated by null characters]"
"-v[produce verbose output]"
"--archive-names[read a list of archive names from a file]:filename:{_files}"
"--configfile[add file to the list of configuration files to be read]:filename:{_files}"
Expand Down
10 changes: 7 additions & 3 deletions tar/tarsnap.1-man.in
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ line with which
was invoked to create each archive is also printed.
.PP
If the
\fB\--null\fP
\fB\--null-output\fP
argument is also specified, each archive name will be separated by a single
null character.
If the
Expand Down Expand Up @@ -732,15 +732,19 @@ option specified in a configuration file.
(use with
\fB\-I\fP,
\fB\-T\fP,
\fB\-X\fP,
or list-archives modes only)
or
\fB\-X\fP)
Filenames or patterns are separated by null characters,
not by newlines.
This is often used to read filenames output by the
\fB\-print0\fP
option to
\fBfind\fP(1).
.TP
\fB\--null-output\fP
(list-archives mode only)
Filenames in output are separated by null characters, not by newlines.
.TP
\fB\--numeric-owner\fP
(x mode only)
Ignore symbolic user and group names when restoring archives to disk,
Expand Down

0 comments on commit 3ec409e

Please sign in to comment.