diff options
author | mike <mike@FreeBSD.org> | 2002-01-22 03:04:15 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-01-22 03:04:15 +0000 |
commit | 0a8d67f7621631a0f3e7f9c25878d4af77579715 (patch) | |
tree | 54b4584c7bcd89e231f6627203d63a3d0434c876 /usr.bin/at/at.c | |
parent | b36a1aca9638f4ea8d1d6d2d8bbd7efe045c1430 (diff) | |
download | FreeBSD-src-0a8d67f7621631a0f3e7f9c25878d4af77579715.zip FreeBSD-src-0a8d67f7621631a0f3e7f9c25878d4af77579715.tar.gz |
o Remove the -V [version number] option, since our version of at(1) no
longer resembles the original.
o Remove references to `you' in the manual.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
Diffstat (limited to 'usr.bin/at/at.c')
-rw-r--r-- | usr.bin/at/at.c | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c index 84198d9..5d4b642 100644 --- a/usr.bin/at/at.c +++ b/usr.bin/at/at.c @@ -673,8 +673,7 @@ main(int argc, char **argv) char *pgm; int program = AT; /* our default program */ - const char *options = "q:f:t:rmvldbVc"; /* default options for at */ - int disp_version = 0; + const char *options = "q:f:t:rmvldbc"; /* default options for at */ time_t timer; timer = -1; @@ -693,15 +692,15 @@ main(int argc, char **argv) */ if (strcmp(pgm, "atq") == 0) { program = ATQ; - options = "q:vV"; + options = "q:v"; } else if (strcmp(pgm, "atrm") == 0) { program = ATRM; - options = "V"; + options = ""; } else if (strcmp(pgm, "batch") == 0) { program = BATCH; - options = "f:q:mvV"; + options = "f:q:mv"; } /* process whatever options we can process @@ -741,7 +740,7 @@ main(int argc, char **argv) usage(); program = ATRM; - options = "V"; + options = ""; break; case 't': @@ -755,7 +754,7 @@ main(int argc, char **argv) usage(); program = ATQ; - options = "q:vV"; + options = "q:v"; break; case 'b': @@ -763,11 +762,7 @@ main(int argc, char **argv) usage(); program = BATCH; - options = "f:q:mvV"; - break; - - case 'V': - disp_version = 1; + options = "f:q:mv"; break; case 'c': @@ -782,9 +777,6 @@ main(int argc, char **argv) /* end of options eating */ - if (disp_version) - fprintf(stderr, "%s version " VERSION "\n", namep); - /* select our program */ if(!check_permission()) |