mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-04 07:24:22 +08:00
Minor indentation change.
(usage): Change wording a little.
This commit is contained in:
parent
47d3dc6fc3
commit
d6b36e21cb
32
src/seq.c
32
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);
|
||||
|
Loading…
Reference in New Issue
Block a user