From 20c1e1abf0f21a63c0ebcd2b264e072164bd943f Mon Sep 17 00:00:00 2001 From: czoido Date: Mon, 13 Mar 2023 15:36:06 +0100 Subject: [PATCH] add docs --- reference/commands/profile.rst | 62 +++++++--------------------------- 1 file changed, 12 insertions(+), 50 deletions(-) diff --git a/reference/commands/profile.rst b/reference/commands/profile.rst index 0e9b8b178d38..43d4d0b61e19 100644 --- a/reference/commands/profile.rst +++ b/reference/commands/profile.rst @@ -65,62 +65,24 @@ conan profile path .. code-block:: text - $ conan profile path -h - usage: conan profile path [-h] [-v [V]] [-o OPTIONS_HOST] - [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST] - [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD] - [-pr:h PROFILE_HOST] [-s SETTINGS_HOST] - [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] - [-c CONF_HOST] [-c:b CONF_BUILD] [-c:h CONF_HOST] - name + $ conan profile path [-h] [-v [V]] name Show profile path location. positional arguments: - name Profile name + name Profile name optional arguments: - -h, --help show this help message and exit - -v [V] Level of detail of the output. Valid options from less - verbose to more verbose: -vquiet, -verror, -vwarning, - -vnotice, -vstatus, -v or -vverbose, -vv or -vdebug, - -vvv or -vtrace - -o OPTIONS_HOST, --options OPTIONS_HOST - Define options values (host machine), e.g.: -o - Pkg:with_qt=true - -o:b OPTIONS_BUILD, --options:build OPTIONS_BUILD - Define options values (build machine), e.g.: -o:b - Pkg:with_qt=true - -o:h OPTIONS_HOST, --options:host OPTIONS_HOST - Define options values (host machine), e.g.: -o:h - Pkg:with_qt=true - -pr PROFILE_HOST, --profile PROFILE_HOST - Apply the specified profile to the host machine - -pr:b PROFILE_BUILD, --profile:build PROFILE_BUILD - Apply the specified profile to the build machine - -pr:h PROFILE_HOST, --profile:host PROFILE_HOST - Apply the specified profile to the host machine - -s SETTINGS_HOST, --settings SETTINGS_HOST - Settings to build the package, overwriting the - defaults (host machine). e.g.: -s compiler=gcc - -s:b SETTINGS_BUILD, --settings:build SETTINGS_BUILD - Settings to build the package, overwriting the - defaults (build machine). e.g.: -s:b compiler=gcc - -s:h SETTINGS_HOST, --settings:host SETTINGS_HOST - Settings to build the package, overwriting the - defaults (host machine). e.g.: -s:h compiler=gcc - -c CONF_HOST, --conf CONF_HOST - Configuration to build the package, overwriting the - defaults (host machine). e.g.: -c - tools.cmake.cmaketoolchain:generator=Xcode - -c:b CONF_BUILD, --conf:build CONF_BUILD - Configuration to build the package, overwriting the - defaults (build machine). e.g.: -c:b - tools.cmake.cmaketoolchain:generator=Xcode - -c:h CONF_HOST, --conf:host CONF_HOST - Configuration to build the package, overwriting the - defaults (host machine). e.g.: -c:h - tools.cmake.cmaketoolchain:generator=Xcod + -h, --help show this help message and exit + -v [V] Level of detail of the output. Valid options from less verbose to more verbose: -vquiet, -verror, -vwarning, + -vnotice, -vstatus, -v or -vverbose, -vv or -vdebug, -vvv or -vtrace + +Use to get the profile location in your ``[CONAN_HOME]`` folder: + +.. code-block:: text + + $ conan profile path default + /Users/barbarians/.conan2/profiles/default conan profile show