Skip to content

Commit d41389a

Browse files
committed
Tweak
1 parent 4925236 commit d41389a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ want a command to create a user::
5858
// (it's equivalent to returning int(1))
5959
// return Command::FAILURE;
6060

61-
// or return this if there was invalid value during the execution
62-
// (it's equivalent to returning int(2))
61+
// or return this to indicate incorrect command usage; e.g. invalid options
62+
// or missing arguments (it's equivalent to returning int(2))
6363
// return Command::INVALID
6464
}
6565
}
@@ -71,7 +71,7 @@ want a command to create a user::
7171

7272
.. versionadded:: 5.3
7373

74-
The ``Command::INVALID`` constants was introduced in Symfony 5.3
74+
The ``Command::INVALID`` constant was introduced in Symfony 5.3
7575

7676
Configuring the Command
7777
-----------------------

0 commit comments

Comments
 (0)