View | Details | Raw Unified | Return to bug 6568
Collapse All | Expand All

(-)eject/eject.c.orig (-3 / +3 lines)
Lines 154-160 static const char *partitionDevice[] = { Link Here
154
static void usage()
154
static void usage()
155
{
155
{
156
//    perror(_("%s: device is `%s'\n"));
156
//    perror(_("%s: device is `%s'\n"));
157
	fprintf(stderr,_(
157
	printf(_(
158
"Eject version %s by Jeff Tranter (tranter@pobox.com)\n"
158
"Eject version %s by Jeff Tranter (tranter@pobox.com)\n"
159
"Usage:\n"
159
"Usage:\n"
160
"  eject -h				-- display command usage and exit\n"
160
"  eject -h				-- display command usage and exit\n"
Lines 185-191 static void usage() Link Here
185
)
185
)
186
, version);
186
, version);
187
#ifdef GETOPTLONG
187
#ifdef GETOPTLONG
188
	fprintf(stderr,_(
188
	printf(_(
189
"Long options:\n"
189
"Long options:\n"
190
"  -h --help   -v --verbose      -d --default\n"
190
"  -h --help   -v --verbose      -d --default\n"
191
"  -a --auto   -c --changerslot  -t --trayclose  -x --cdspeed\n"
191
"  -a --auto   -c --changerslot  -t --trayclose  -x --cdspeed\n"
Lines 204-210 static void usage() Link Here
204
"  -n --noop   -V --version\n"
204
"  -n --noop   -V --version\n"
205
"  -p --proc   -m --no-unmount   -T --traytoggle\n"));
205
"  -p --proc   -m --no-unmount   -T --traytoggle\n"));
206
#endif /* GETOPTLONG */
206
#endif /* GETOPTLONG */
207
	fprintf(stderr,_(
207
	printf(_(
208
"Parameter <name> can be a device file or a mount point.\n"
208
"Parameter <name> can be a device file or a mount point.\n"
209
"If omitted, name defaults to `%s'.\n"
209
"If omitted, name defaults to `%s'.\n"
210
"By default tries -r, -s, -f, and -q in order until success.\n"),
210
"By default tries -r, -s, -f, and -q in order until success.\n"),

Return to bug 6568