diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-06-08 19:11:51 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-06-08 19:11:51 +0200 |
commit | 9b488b992872d4d2b7ebf7897d74d52f4fb59e1c (patch) | |
tree | 53f6cbd44c025aec18b9307cd88bbae43bb921e4 /extensions/libxt_time.c | |
parent | 0ea82bc43e9262cdbb9880ca56bb514db4c77f8e (diff) |
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 <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/libxt_time.c')
-rw-r--r-- | extensions/libxt_time.c | 20 |
1 files changed, 10 insertions, 10 deletions
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) |