summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorKarel Zak2011-08-16 11:58:50 +0200
committerKarel Zak2011-08-16 11:58:50 +0200
commitc0d38ecdce17ec5829618454a50fad44820eb05f (patch)
tree4ed608a059ec3d7573c7be968dfdf37e57b93bd0 /term-utils/agetty.c
parenthwclock: indent usage() (diff)
downloadkernel-qcow2-util-linux-c0d38ecdce17ec5829618454a50fad44820eb05f.tar.gz
kernel-qcow2-util-linux-c0d38ecdce17ec5829618454a50fad44820eb05f.tar.xz
kernel-qcow2-util-linux-c0d38ecdce17ec5829618454a50fad44820eb05f.zip
agetty: clean up usage
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index 084c64af4..733be3802 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -1630,28 +1630,28 @@ static speed_t bcode(char *s)
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
fprintf(out, _("\nUsage:\n"
- " %1$s [options] line baud_rate,... [termtype]\n"
- " %1$s [options] baud_rate,... line [termtype]\n"),
+ " %1$s [options] line baud_rate,... [termtype]\n"
+ " %1$s [options] baud_rate,... line [termtype]\n"),
program_invocation_short_name);
fprintf(out, _("\nOptions:\n"
" -8, --8bits assume 8-bit tty\n"
- " -a, --autologin USER login the specified user automatically\n"
+ " -a, --autologin <user> login the specified user automatically\n"
" -c, --noreset do not reset control mode\n"
- " -f, --issue-file FILE display issue file\n"
+ " -f, --issue-file <file> display issue file\n"
" -h, --flow-control enable hardware flow control\n"
- " -H, --host HOSTNAME specify login host\n"
+ " -H, --host <hostname> specify login host\n"
" -i, --noissue do not display issue file\n"
- " -I, --init-string STRING set init string\n"
- " -l, --login-program FILE specify login program\n"
+ " -I, --init-string <string> set init string\n"
+ " -l, --login-program <file> specify login program\n"
" -L, --local-line force local line\n"
" -m, --extract-baud extract baud rate during connect\n"
" -n, --skip-login do not prompt for login\n"
- " -o, --login-options OPTS options that are passed to login\n"
+ " -o, --login-options <opts> options that are passed to login\n"
" -p, --loginpause wait for any key before the login\n"
" -R, --hangup do virtually hangup on the tty\n"
" -s, --keep-baud try to keep baud rate after break\n"
- " -t, --timeout NUMBER login process timeout\n"
+ " -t, --timeout <number> login process timeout\n"
" -U, --detect-case detect uppercase terminal\n"
" -w, --wait-cr wait carriage-return\n"
" --noclear do not clear the screen before prompt\n"