]> source.dussan.org Git - nextcloud-server.git/commitdiff
replace ident spaces with tabs
authorMasaki <masaki.kawabata@gmail.com>
Thu, 29 Aug 2013 18:03:16 +0000 (15:03 -0300)
committerMasaki <masaki.kawabata@gmail.com>
Thu, 29 Aug 2013 18:03:16 +0000 (15:03 -0300)
console.php
status.php

index a2d4ab3562e0890beac23e7966d844ce422a94eb..fbe09d9bb689078424aca6e323e00c52fcc8917b 100644 (file)
@@ -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;
 }
index 88805ad6b1996173f5261af243183c0e2e0598a2..88422100f14cf96afb6b637ecb139520efa8807e 100644 (file)
@@ -34,9 +34,9 @@ try {
                'versionstring'=>OC_Util::getVersionString(),
                'edition'=>OC_Util::getEditionString());
        if (OC::$CLI) {
-               print_r($values);
+               print_r($values);
        } else {
-               echo(json_encode($values));
+               echo(json_encode($values));
        }
 
 } catch (Exception $ex) {