diff --git a/README.md b/README.md index 1b0a39b..d004e97 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,30 @@ $ ./console ## Commands +### Show a user's profile + +``` +Usage: + users:profile [-i|--id="..."] + +Options: + --id (-i) The user id + --help (-h) Display this help message + --quiet (-q) Do not output any message + --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + --version (-V) Display this application version + --ansi Force ANSI output + --no-ansi Disable ANSI output + --no-interaction (-n) Do not ask any interactive question + +Help: + users:profile + + Show the profile of a user (default: auhentificated user). + + Usage: users:profile [OPTIONS] +`` + ### Login on t411 ``` diff --git a/src/Console/Command/UsersProfileCommand.php b/src/Console/Command/UsersProfileCommand.php index 24060f8..1004e09 100644 --- a/src/Console/Command/UsersProfileCommand.php +++ b/src/Console/Command/UsersProfileCommand.php @@ -15,9 +15,12 @@ class UsersProfileCommand extends Command { $this ->setName('users:profile') - ->setDescription('') - ->addOption('id', 'i', InputOption::VALUE_REQUIRED, '') + ->setDescription('Show a user\'s profile') + ->addOption('id', 'i', InputOption::VALUE_REQUIRED, 'The user id') ->setHelp("%command.name% + +Show a user's profile (default is the auhentificated user). + Usage: users:profile [OPTIONS]"); }