Print usage in error message
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 2 Nov 2010 17:40:27 +0000 (11:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 2 Nov 2010 18:04:39 +0000 (12:04 -0600)
horde/bin/db_migrate

index 74e9ad8..52bf86f 100755 (executable)
@@ -23,7 +23,7 @@ Horde_Registry::appInit('horde', array(
 array_shift($_SERVER['argv']);
 $args = $_SERVER['argv'];
 if (empty($args[0])) {
-    $cli->fatal("An application argument is required");
+    $cli->fatal('Usage: db_migrate application [up | down | version]');
 }
 
 $app = $args[0];