Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaki <masaki.kawabata@gmail.com>2013-08-29 22:03:16 +0400
committerMasaki <masaki.kawabata@gmail.com>2013-08-29 22:03:16 +0400
commit04b9e77478a36b9ef9ed48a8181ed9195d47ec8a (patch)
treecfba105b77690d19d59122c35d24ae0feaeefc94 /console.php
parent1dd18980ae171d9cd16ab95bdfb289b54ef6c34d (diff)
replace ident spaces with tabs
Diffstat (limited to 'console.php')
-rw-r--r--console.php41
1 files changed, 21 insertions, 20 deletions
diff --git a/console.php b/console.php
index a2d4ab3562e..fbe09d9bb68 100644
--- a/console.php
+++ b/console.php
@@ -1,3 +1,4 @@
+
<?php
/**
* Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
@@ -22,30 +23,30 @@ if (!OC::$CLI) {
$self = basename($argv[0]);
if ($argc <= 1) {
- $argv[1] = "help";
+ $argv[1] = "help";
}
$command = $argv[1];
array_shift($argv);
switch ($command) {
- case 'files:scan':
- require_once 'apps/files/console/scan.php';
- break;
- case 'status':
- require_once 'status.php';
- break;
- case 'help':
- echo "Usage:" . PHP_EOL;
- echo " " . $self . " <command>" . PHP_EOL;
- echo PHP_EOL;
- echo "Available commands:" . PHP_EOL;
- echo " files:scan -> rescan filesystem" .PHP_EOL;
- echo " status -> show some status information" .PHP_EOL;
- echo " help -> show this help screen" .PHP_EOL;
- break;
- default:
- echo "Unknown command '$command'" . PHP_EOL;
- echo "For available commands type ". $self . " help" . PHP_EOL;
- break;
+ case 'files:scan':
+ require_once 'apps/files/console/scan.php';
+ break;
+ case 'status':
+ require_once 'status.php';
+ break;
+ case 'help':
+ echo "Usage:" . PHP_EOL;
+ echo " " . $self . " <command>" . PHP_EOL;
+ echo PHP_EOL;
+ echo "Available commands:" . PHP_EOL;
+ echo " files:scan -> rescan filesystem" .PHP_EOL;
+ echo " status -> show some status information" .PHP_EOL;
+ echo " help -> show this help screen" .PHP_EOL;
+ break;
+ default:
+ echo "Unknown command '$command'" . PHP_EOL;
+ echo "For available commands type ". $self . " help" . PHP_EOL;
+ break;
}