diff options
author | Nicolas Schier <nicolas@fjasle.eu> | 2017-12-31 15:26:37 +0100 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-31 11:29:15 -0400 |
commit | ab0bda73cdd97fa399bb58856f934c069ccd6596 (patch) | |
tree | 5c1739423cd828ef336bed2f60e46b3d6d124d61 | |
parent | 6eedaa93d6a1d1430de5238a4101ed8bab0b64c3 (diff) | |
download | moreutils-ab0bda73cdd97fa399bb58856f934c069ccd6596.tar.gz |
vidir: reword man page to more explicit mention 'file' args (Closes: #885221)
As complained in #885221, the 'file' arguments were not described as
much as it might be necessary. This patch attempts to reword the man
page to cover the actual argument handling of vidir more completely.
Thanks to Daniel Shahaf.
Signed-off-by: Nicolas Schier <nicolas@fjasle.eu>
-rwxr-xr-x | vidir | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -2,16 +2,16 @@ =head1 NAME -vidir - edit directory +vidir - edit directories and filenames =head1 SYNOPSIS -B<vidir> [--verbose] [directory|file|-] ... +B<vidir> [B<--verbose>] [I<directory>|I<file>|B<->]... =head1 DESCRIPTION -vidir allows editing of the contents of a directory in a text editor. If no -directory is specified, the current directory is edited. +B<vidir> allows editing of directories and filenames in a text editor. If no +I<directory> is specified, the filenames of the current directory are edited. When editing a directory, each item in the directory will appear on its own numbered line. These numbers are how vidir keeps track of what items are @@ -19,9 +19,10 @@ changed. Delete lines to remove files from the directory, or edit filenames to rename files. You can also switch pairs of numbers to swap filenames. -Note that if "-" is specified as the directory to edit, it reads a list of -filenames from stdin and displays those for editing. Alternatively, a list -of files can be specified on the command line. +Filenames to be edited may be given any combination of I<directory>s (which +will be expanded to the non-recursive list of all files within I<directory>), +I<file>s, or I<->. If the latter is specified, B<vidir> reads a list of +filenames from stdin and displays those for editing. =head1 OPTIONS |