diff options
author | winniehell <git@winniehell.de> | 2016-08-08 10:47:17 +0300 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-08-09 02:42:50 +0300 |
commit | e0a858efcc66246b2811f89b04b3479089345476 (patch) | |
tree | 9e4e1b35384813c2055666bfbadc932764a09d4f /doc/api/milestones.md | |
parent | a361f314f8f7f00a7541a5af1b8a2a92ced475e9 (diff) |
use long options for curl examples in API documentation (!5703)
Diffstat (limited to 'doc/api/milestones.md')
-rw-r--r-- | doc/api/milestones.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md index e4202025f80..ae7d22a4be5 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -20,7 +20,7 @@ Parameters: | `state` | string | optional | Return only `active` or `closed` milestones` | ```bash -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/milestones +curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/milestones ``` Example Response: |