summaryrefslogtreecommitdiff
path: root/docs/cli-usage.rst
diff options
context:
space:
mode:
authorPyHedgehog <pyhedgehog@users.noreply.github.com>2023-03-11 13:10:42 +0300
committerGitHub <noreply@github.com>2023-03-11 10:10:42 +0000
commit4f7c78436e62bfd21745c5289117e03ed896bc66 (patch)
treec62e51cf93a6770d9b876107a4ad41dc927c065f /docs/cli-usage.rst
parent7d779c85ffe09623c5d885b5a429b0242ad82f93 (diff)
downloadgitlab-4f7c78436e62bfd21745c5289117e03ed896bc66.tar.gz
fix(cli): add ability to escape at-prefixed parameter (#2513)
* fix(cli): Add ability to escape at-prefixed parameter (#2511) --------- Co-authored-by: Nejc Habjan <hab.nejc@gmail.com>
Diffstat (limited to 'docs/cli-usage.rst')
-rw-r--r--docs/cli-usage.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cli-usage.rst b/docs/cli-usage.rst
index c728221..4b525fc 100644
--- a/docs/cli-usage.rst
+++ b/docs/cli-usage.rst
@@ -305,6 +305,17 @@ command line. This is handy for values containing new lines for instance:
EOF
$ gitlab project create --name SuperProject --description @/tmp/description
+It you want to explicitly pass an argument starting with ``@``, you can escape it using ``@@``:
+
+.. code-block:: console
+
+ $ gitlab project-tag list --project-id somenamespace/myproject
+ ...
+ name: @at-started-tag
+ ...
+ $ gitlab project-tag delete --project-id somenamespace/myproject --name '@@at-started-tag'
+
+
Enabling shell autocompletion
=============================