09feeab2a6
OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=53100d87b42901e6f6ab596e79dac7ab
52 lines
1.1 KiB
Diff
52 lines
1.1 KiB
Diff
--- at.1.in.orig
|
|
+++ at.1.in
|
|
@@ -9,7 +9,7 @@ at, batch, atq, atrm \- queue, examine o
|
|
.IR queue ]
|
|
.RB [ -f
|
|
.IR file ]
|
|
-.RB [ -mldbv ]
|
|
+.RB [ -mldrbv ]
|
|
.B TIME
|
|
.br
|
|
.B "at -c"
|
|
@@ -219,8 +219,8 @@ rather than standard input.
|
|
Is an alias for
|
|
.B atq.
|
|
.TP
|
|
-.B \-d
|
|
-Is an alias for
|
|
+.B \-d, -r
|
|
+Are aliases for
|
|
.B atrm.
|
|
.TP
|
|
.TP
|
|
--- at.c.orig
|
|
+++ at.c
|
|
@@ -692,7 +692,7 @@ main(int argc, char **argv)
|
|
char *pgm;
|
|
|
|
int program = AT; /* our default program */
|
|
- char *options = "q:f:MmvldhVc"; /* default options for at */
|
|
+ char *options = "q:f:MmvldrhVc"; /* default options for at */
|
|
int disp_version = 0;
|
|
time_t timer;
|
|
struct passwd *pwe;
|
|
@@ -765,6 +765,7 @@ main(int argc, char **argv)
|
|
break;
|
|
|
|
case 'd':
|
|
+ case 'r':
|
|
if (program != AT)
|
|
usage();
|
|
|
|
--- panic.c.orig
|
|
+++ panic.c
|
|
@@ -92,6 +92,7 @@ usage(void)
|
|
/* Print usage and exit.
|
|
*/
|
|
fprintf(stderr, "Usage: at [-V] [-q x] [-f file] [-m] time\n"
|
|
+ " at [-V] -r job [job ...]\n"
|
|
" atq [-V] [-q x]\n"
|
|
" atrm [-V] [-q x] job ...\n"
|
|
" batch [-V] [-f file] [-m]\n");
|