summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorfurun <furun@arcor.de>2009-10-16 22:55:26 +0200
committerfurun <furun@arcor.de>2009-10-16 22:55:26 +0200
commit47583ff0428eaa0d97e26f61f81ac6d199e9b446 (patch)
tree4cea7fd563437b0d55a1af3a0e59a659192d5d38 /bin
parent623b29ddeb427ec79bc196f91198e5e8439f01e4 (diff)
downloadrpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.gz
rpg-47583ff0428eaa0d97e26f61f81ac6d199e9b446.tar.bz2
Whitespace cleanup FS#1709
Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
Diffstat (limited to 'bin')
-rwxr-xr-xbin/wantedpages.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/wantedpages.php b/bin/wantedpages.php
index c8b7153b2..30171fc15 100755
--- a/bin/wantedpages.php
+++ b/bin/wantedpages.php
@@ -13,13 +13,13 @@ require_once DOKU_INC.'inc/cliopts.php';
#------------------------------------------------------------------------------
function usage() {
print "Usage: wantedpages.php [wiki:namespace]
-
+
Outputs a list of wanted pages (pages which have
internal links but do not yet exist).
-
+
If the optional [wiki:namespace] is not provided,
defaults to the root wiki namespace
-
+
OPTIONS
-h, --help get help
";
@@ -54,12 +54,12 @@ function dw_get_pages($dir) {
global $conf;
$trunclen = strlen($conf['datadir'].':');
}
-
+
if ( !is_dir($dir) ) {
fwrite( STDERR, "Unable to read directory $dir\n");
exit(1);
}
-
+
$pages = array();
$dh = opendir($dir);
while ( false !== ( $entry = readdir($dh) ) ) {