diff options
author | ache <ache@FreeBSD.org> | 1995-09-18 14:06:38 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-09-18 14:06:38 +0000 |
commit | 6b2ee7716a791402c70fcb7985e3e55f11fda156 (patch) | |
tree | 47ce0e664cedbd86acbec2592800850de8de5e27 /sbin/slattach/slattach.c | |
parent | a23d1595318d01903fc24ed7a95f4aa08f35201c (diff) | |
download | FreeBSD-src-6b2ee7716a791402c70fcb7985e3e55f11fda156.zip FreeBSD-src-6b2ee7716a791402c70fcb7985e3e55f11fda156.tar.gz |
Change new -U option to -S to go the same way as startslip.
Diffstat (limited to 'sbin/slattach/slattach.c')
-rw-r--r-- | sbin/slattach/slattach.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/slattach/slattach.c b/sbin/slattach/slattach.c index b6b3e0d..b8e28a4 100644 --- a/sbin/slattach/slattach.c +++ b/sbin/slattach/slattach.c @@ -100,7 +100,7 @@ char *exit_cmd = 0; /* command to exec before exiting. */ static char usage_str[] = "\ usage: %s [-acfhlnz] [-e command] [-r command] [-s speed] [-u command] \\\n\ - [-K timeout] [-O timeout] [-U unit] device\n\ + [-K timeout] [-O timeout] [-S unit] device\n\ -a -- autoenable VJ compression\n\ -c -- enable VJ compression\n\ -e ECMD -- run ECMD before exiting\n\ @@ -114,7 +114,7 @@ usage: %s [-acfhlnz] [-e command] [-r command] [-s speed] [-u command] \\\n\ -z -- run RCMD upon startup irrespective of carrier\n\ -K # -- set SLIP \"keep alive\" timeout (default 0)\n\ -O # -- set SLIP \"out fill\" timeout (default 0)\n\ - -U # -- set SLIP unit number (default is dynamic)\n\ + -S # -- set SLIP unit number (default is dynamic)\n\ "; int main(int argc, char **argv) @@ -124,7 +124,7 @@ int main(int argc, char **argv) extern int optind; char *cp; - while ((option = getopt(argc, argv, "ace:fhlnr:s:u:zK:O:U:")) != EOF) { + while ((option = getopt(argc, argv, "ace:fhlnr:s:u:zK:O:S:")) != EOF) { switch (option) { case 'a': slflags |= IFF_LINK2; @@ -167,7 +167,7 @@ int main(int argc, char **argv) case 'O': outfill = atoi(optarg); break; - case 'U': + case 'S': sl_unit = atoi(optarg); break; default: |