Permalink
Browse files

Update error message on invalid syntax for "spark remove"

  • Loading branch information...
1 parent e80d2cc commit 6c6b7cb20dc214d54ca8abcdc94af3517ecc0e85 @munirehmad munirehmad committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/lib/spark/spark_cli.php
View
2 tools/lib/spark/spark_cli.php
@@ -163,7 +163,7 @@ private function remove($args)
if ($version == null && !array_key_exists('f', $flags))
{
- throw new Spark_exception("Please specify a version of remove all with -f");
+ throw new Spark_exception("Please specify a version (spark remove -v1.0.0 foo) or remove all with -f");
}
Spark_utils::notice("Removing $spark_name (" . ($version ? $version : 'ALL') . ") from $dir_to_remove");

0 comments on commit 6c6b7cb

Please sign in to comment.