Add new --clean option; this makes ikiwiki remove all built files in the destdir...
[ikiwiki.git] / doc / usage.mdwn
index e4808d4c256dc6a6d9472dcca21b9c623f01a71f..a105d7e59b96f5bc37324d09eb5a4a84e4054d2f 100644 (file)
@@ -50,6 +50,14 @@ These options control the mode that ikiwiki operates in.
   If used with --setup --refresh, this makes it also update any configured
   wrappers.
 
+* --clean
+
+  This makes ikiwiki clean up by removing any files it denerated in the 
+  `destination` directory, as well as any configured wrappers, and the
+  `.ikiwiki` state directory. This is mostly useful if you're running
+  ikiwiki in a Makefile to build documentation and want a corresponding
+  `clean` target.
+
 * --cgi
 
   Enable [[CGI]] mode. In cgi mode ikiwiki runs as a cgi script, and