summaryrefslogtreecommitdiff
path: root/src/seq.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-12-31 18:17:34 +0000
committerJim Meyering <jim@meyering.net>1994-12-31 18:17:34 +0000
commitd6b36e21cb3537d19f8f8eede726c30198ae1d9d (patch)
tree567e7e6646f2d092ce3028bcf7cccf376021d6de /src/seq.c
parent47d3dc6fc30c8d93b142dca039dfb9adf96e0a11 (diff)
downloadcoreutils-d6b36e21cb3537d19f8f8eede726c30198ae1d9d.tar.xz
Minor indentation change.
(usage): Change wording a little.
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c32
1 files changed, 9 insertions, 23 deletions
diff --git a/src/seq.c b/src/seq.c
index 25728ada7..e9f59a086 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -26,7 +26,6 @@
#include "version.h"
-static void usage ();
static double scan_double_arg ();
static int check_format ();
static char *get_width_format ();
@@ -61,24 +60,12 @@ static double last;
static struct option const long_options[] =
{
- {
- "equal-width", no_argument, NULL, 'w'
- },
- {
- "format", required_argument, NULL, 'f'
- },
- {
- "help", no_argument, &show_help, 1
- },
- {
- "seperator", required_argument, NULL, 's'
- },
- {
- "version", no_argument, &show_version, 1
- },
- {
- NULL, 0, NULL, 0
- }
+ { "equal-width", no_argument, NULL, 'w'},
+ { "format", required_argument, NULL, 'f'},
+ { "help", no_argument, &show_help, 1},
+ { "seperator", required_argument, NULL, 's'},
+ { "version", no_argument, &show_version, 1},
+ { NULL, 0, NULL, 0}
};
static void
@@ -101,10 +88,9 @@ Usage: %s [OPTION]... [from [step]] to\n\
--version output version information and exit\n\
-w, --equal-width equalize width by padding with leading zeroes\n\
\n\
- FROM, STEP, TO are interpreted as floating point. STEP has to be > 0 if\n\
- FROM is bigger than TO and vice versa. When given the FORMAT argument\n\
- of the -f option has to contain exactly one of the float output formats\n\
- %%e, %%f, or %%g.\n\
+ FROM, STEP, TO are interpreted as floating point. STEP should be > 0 if\n\
+ FROM is smaller than TO and vice versa. When given, the FORMAT argument\n\
+ must contain exactly one of the float output formats %%e, %%f, or %%g.\n\
");
}
exit (status);