Minor indentation change.

(usage): Change wording a little.
This commit is contained in:
Jim Meyering 1994-12-31 18:17:34 +00:00
parent 47d3dc6fc3
commit d6b36e21cb

View File

@ -26,7 +26,6 @@
#include "version.h" #include "version.h"
static void usage ();
static double scan_double_arg (); static double scan_double_arg ();
static int check_format (); static int check_format ();
static char *get_width_format (); static char *get_width_format ();
@ -61,24 +60,12 @@ static double last;
static struct option const long_options[] = static struct option const long_options[] =
{ {
{ { "equal-width", no_argument, NULL, 'w'},
"equal-width", no_argument, NULL, 'w' { "format", required_argument, NULL, 'f'},
}, { "help", no_argument, &show_help, 1},
{ { "seperator", required_argument, NULL, 's'},
"format", required_argument, NULL, 'f' { "version", no_argument, &show_version, 1},
}, { NULL, 0, NULL, 0}
{
"help", no_argument, &show_help, 1
},
{
"seperator", required_argument, NULL, 's'
},
{
"version", no_argument, &show_version, 1
},
{
NULL, 0, NULL, 0
}
}; };
static void static void
@ -101,10 +88,9 @@ Usage: %s [OPTION]... [from [step]] to\n\
--version output version information and exit\n\ --version output version information and exit\n\
-w, --equal-width equalize width by padding with leading zeroes\n\ -w, --equal-width equalize width by padding with leading zeroes\n\
\n\ \n\
FROM, STEP, TO are interpreted as floating point. STEP has to be > 0 if\n\ FROM, STEP, TO are interpreted as floating point. STEP should be > 0 if\n\
FROM is bigger than TO and vice versa. When given the FORMAT argument\n\ FROM is smaller 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\ must contain exactly one of the float output formats %%e, %%f, or %%g.\n\
%%e, %%f, or %%g.\n\
"); ");
} }
exit (status); exit (status);