Repository: conan-io/conan

Issue:
Wrong help description for profile parameter in conan profile
To help us debug your issue please explain:

- [x] I've read the [CONTRIBUTING guide](https://raw.githubusercontent.com/conan-io/conan/develop/.github/CONTRIBUTING.md).
- [x] I've specified the Conan version, operating system version and any tool that can be relevant.
- [x] I've explained the steps to reproduce the error or the motivation/use case of the question/suggestion.

Conan version 1.0.3

In:

```
$ conan profile show -h
usage: conan profile show [-h] profile

positional arguments:
  profile     name of the profile

optional arguments:
  -h, --help  show this help message and exit
```

The profile parameter could be a path to a profile instead of just a name of the profile in the deafult profile folder.

Fix help message for all profile sub-commands that can accept a profile path as profile argument.



Discussion:
For these very simple and obvious fixes, you can directly submit a PR.

Resolving patch:
diff --git a/conans/client/command.py b/conans/client/command.py
--- a/conans/client/command.py
+++ b/conans/client/command.py
@@ -927,32 +927,35 @@ def profile(self, *args):
         '.conan/profiles' folder, in the same way as the '--profile' install argument.
         """
         parser = argparse.ArgumentParser(description=self.profile.__doc__, prog="conan profile")
-        subparsers = parser.add_subparsers(dest='subcommand', help='sub-command help')
+        subparsers = parser.add_subparsers(dest='subcommand')
 
         # create the parser for the "profile" command
-        subparsers.add_parser('list', help='list current profiles')
-        parser_show = subparsers.add_parser('show', help='show the values defined for a profile.'
-                                                         ' Can be a path (relative or absolute) to'
-                                                         ' a profile file in  any location.')
-        parser_show.add_argument('profile',  help='name of the profile')
+        subparsers.add_parser('list', help='List current profiles')
+        parser_show = subparsers.add_parser('show', help='Show the values defined for a profile')
+        parser_show.add_argument('profile',  help="name of the profile in the '.conan/profiles' "
+                                                  "folder or path to a profile file")
 
         parser_new = subparsers.add_parser('new', help='Creates a new empty profile')
-        parser_new.add_argument('profile',  help='name of the profile')
+        parser_new.add_argument('profile',  help="name for the profile in the '.conan/profiles' "
+                                                  "folder or path and name for a profile file")
         parser_new.add_argument("--detect", action='store_true',
                                 default=False,
                                 help='Autodetect settings and fill [settings] section')
 
-        parser_update = subparsers.add_parser('update', help='Update a profile')
+        parser_update = subparsers.add_parser('update', help='Update a profile with desired value')
         parser_update.add_argument('item', help='key="value to set", e.j: settings.compiler=gcc')
-        parser_update.add_argument('profile',  help='name of the profile')
+        parser_update.add_argument('profile',  help="name of the profile in the '.conan/profiles' "
+                                                    "folder or path to a profile file")
 
         parser_get = subparsers.add_parser('get', help='Get a profile key')
-        parser_get.add_argument('item', help='key="value to get", e.j: settings.compiler')
-        parser_get.add_argument('profile',  help='name of the profile')
+        parser_get.add_argument('item', help='key of the value to get, e.g: settings.compiler')
+        parser_get.add_argument('profile',  help="name of the profile in the '.conan/profiles' "
+                                                  "folder or path to a profile file")
 
         parser_remove = subparsers.add_parser('remove', help='Remove a profile key')
-        parser_remove.add_argument('item', help='key", e.j: settings.compiler')
-        parser_remove.add_argument('profile',  help='name of the profile')
+        parser_remove.add_argument('item', help='key, e.g: settings.compiler')
+        parser_remove.add_argument('profile',  help="name of the profile in the '.conan/profiles' "
+                                                    "folder or path to a profile file")
 
         args = parser.parse_args(*args)
 


Test patch: