summaryrefslogtreecommitdiff
path: root/src/unexpand.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-12 08:59:00 +0000
committerJim Meyering <jim@meyering.net>2003-01-12 08:59:00 +0000
commit42594a0e4ac11ff73fcf4812c2591cf841eda0c5 (patch)
tree70541d48f8617c93c5c04d79c0f7c1b185e71c51 /src/unexpand.c
parent079dc69267c209f9edf012c877ddeda9239ec3db (diff)
downloadcoreutils-42594a0e4ac11ff73fcf4812c2591cf841eda0c5.tar.xz
(usage): Document --first-only and mention that --tabs=N (-t) enables --all (-a).
Diffstat (limited to 'src/unexpand.c')
-rw-r--r--src/unexpand.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index 8e58b2b40..9c1e751f6 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -1,5 +1,5 @@
/* unexpand - convert spaces to tabs
- Copyright (C) 89, 91, 1995-2002 Free Software Foundation, Inc.
+ Copyright (C) 89, 91, 1995-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -12,8 +12,8 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* By default, convert only maximal strings of initial blanks and tabs
into tabs.
@@ -385,9 +385,10 @@ With no FILE, or when FILE is -, read standard input.\n\
Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (_("\
- -a, --all convert all whitespace, instead of initial whitespace\n\
- -t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\
- -t, --tabs=LIST use comma separated list of explicit tab positions\n\
+ -a, --all convert all whitespace, instead of just initial whitespace\n\
+ --first-only convert only leading sequences of whitespace (overrides -a)\n\
+ -t, --tabs=N have tabs N characters apart instead of 8 (enables -a)\n\
+ -t, --tabs=LIST use comma separated LIST of tab positions (enables -a)\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);