]> err.no Git - varnish/commitdiff
Add CLI_PURGE definition
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jan 2009 14:18:08 +0000 (14:18 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 13 Jan 2009 14:18:08 +0000 (14:18 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3510 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/cli.h

index 41b8d10e8ea6ba535bf30dc66af9c49744432032..6c1602c07c3897d19fe4a05b1424fe88780dcf1d 100644 (file)
            "marked obsolete.",                                         \
        1, 1
 
+#define CLI_PURGE                                                      \
+       "purge",                                                        \
+       "purge <field> <operator> <arg> [&& <field> <oper> <arg>]...",  \
+       "\tAll objects where the all the conditions match will be "     \
+           "marked obsolete.",                                         \
+       3, UINT_MAX 
+
 #define CLI_PURGE_LIST                                                 \
        "purge.list",                                                   \
        "purge.list",                                                   \