From 9b488b992872d4d2b7ebf7897d74d52f4fb59e1c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 8 Jun 2008 19:11:51 +0200 Subject: manpage updates A number of options support negation, but the manpage did not reflect this ("[!]" was absent). Also fix a few [] (optional arguments) to {} (required arguments) in the option-BNF. Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- extensions/libxt_time.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'extensions/libxt_time.c') diff --git a/extensions/libxt_time.c b/extensions/libxt_time.c index 7072d71e..97bb0d31 100644 --- a/extensions/libxt_time.c +++ b/extensions/libxt_time.c @@ -51,16 +51,16 @@ static void time_help(void) { printf( "time match options:\n" -" --datestart time Start and stop time, to be given in ISO 8601\n" -" --datestop time (YYYY[-MM[-DD[Thh[:mm[:ss]]]]])\n" -" --timestart time Start and stop daytime (hh:mm[:ss])\n" -" --timestop time (between 00:00:00 and 23:59:59)\n" -" --monthdays value List of days on which to match, separated by comma\n" -" (Possible days: 1 to 31; defaults to all)\n" -" --weekdays value List of weekdays on which to match, sep. by comma\n" -" (Possible days: Mon,Tue,Wed,Thu,Fri,Sat,Sun or 1 to 7\n" -" Defaults to all weekdays.)\n" -" --localtz/--utc Time is interpreted as UTC/local time\n"); +" --datestart time Start and stop time, to be given in ISO 8601\n" +" --datestop time (YYYY[-MM[-DD[Thh[:mm[:ss]]]]])\n" +" --timestart time Start and stop daytime (hh:mm[:ss])\n" +" --timestop time (between 00:00:00 and 23:59:59)\n" +"[!] --monthdays value List of days on which to match, separated by comma\n" +" (Possible days: 1 to 31; defaults to all)\n" +"[!] --weekdays value List of weekdays on which to match, sep. by comma\n" +" (Possible days: Mon,Tue,Wed,Thu,Fri,Sat,Sun or 1 to 7\n" +" Defaults to all weekdays.)\n" +" --localtz/--utc Time is interpreted as UTC/local time\n"); } static void time_init(struct xt_entry_match *m) -- cgit v1.2.3