diff options
author | Karel Zak | 2011-05-17 13:21:45 +0200 |
---|---|---|
committer | Karel Zak | 2011-05-17 13:21:45 +0200 |
commit | 3fc62fd3a59ae490c8d7011fcc9d11953886c752 (patch) | |
tree | 50b1bcdff4b693147a20bad00f123cadd0700085 /term-utils/agetty.c | |
parent | agetty: use a generic function for strings concatenation (diff) | |
download | kernel-qcow2-util-linux-3fc62fd3a59ae490c8d7011fcc9d11953886c752.tar.gz kernel-qcow2-util-linux-3fc62fd3a59ae490c8d7011fcc9d11953886c752.tar.xz kernel-qcow2-util-linux-3fc62fd3a59ae490c8d7011fcc9d11953886c752.zip |
agetty: remove unnecessary options synonyms
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r-- | term-utils/agetty.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 4a90dad94..11491cd3c 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -458,16 +458,12 @@ static void parse_args(int argc, char **argv, struct options *op) { "init-string", required_argument, 0, 'I' }, { "noclear", no_argument, 0, 'J' }, { "login-program", required_argument, 0, 'l' }, - { "login", required_argument, 0, 'l' }, /* compat option */ - { "loginprog", required_argument, 0, 'l' }, /* compat option */ { "local-line", no_argument, 0, 'L' }, { "extract-baud", no_argument, 0, 'm' }, { "skip-login", no_argument, 0, 'n' }, { "nonewline", no_argument, 0, 'N' }, { "login-options", required_argument, 0, 'o' }, - { "loginopts", required_argument, 0, 'o' }, /* compat option */ - { "logopts", required_argument, 0, 'o' }, /* compat option */ - { "loginpause", no_argument, 0, 'p' }, + { "login-pause", no_argument, 0, 'p' }, { "nice", required_argument, 0, 'P' }, { "chroot", required_argument, 0, 'r' }, { "hangup", no_argument, 0, 'R' }, @@ -475,8 +471,7 @@ static void parse_args(int argc, char **argv, struct options *op) { "timeout", required_argument, 0, 't' }, { "detect-case", no_argument, 0, 'U' }, { "wait-cr", no_argument, 0, 'w' }, - { "no-hostname", no_argument, 0, NOHOSTNAME_OPTION }, - { "nohostname", no_argument, 0, NOHOSTNAME_OPTION }, /* compat option */ + { "nohostname", no_argument, 0, NOHOSTNAME_OPTION }, { "long-hostname", no_argument, 0, LONGHOSTNAME_OPTION }, { "version", no_argument, 0, VERSION_OPTION }, { "help", no_argument, 0, HELP_OPTION }, |