summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-06-22 10:04:00 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2013-06-22 10:04:00 +0200
commitb4bc9dff52d2610523cefa47fd0d0aaf8f2d12c1 (patch)
treed6f81c1868dbba270cc5e2a5902f1bc3e4c6a3ce
parent7be3d54f42ebcf6f952d38b1b88dab0dd440ed54 (diff)
downloadgitlab-b4bc9dff52d2610523cefa47fd0d0aaf8f2d12c1.tar.gz
README: use - instead of _ in examples
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 90579c8..944ec26 100644
--- a/README.md
+++ b/README.md
@@ -118,18 +118,18 @@ gitlab project list
gitlab project get --id=2
# get a list of snippets for this project:
-gitlab project-issue list --project_id=2
+gitlab project-issue list --project-id=2
# delete a Snippet (id 3):
-gitlab project-snippet delete --id=3 --project_id=2
+gitlab project-snippet delete --id=3 --project-id=2
# update a Snippet:
-gitlab project-snippet update --id=4 --project_id=2 --code="My New Code"
+gitlab project-snippet update --id=4 --project-id=2 --code="My New Code"
# create a Snippet:
-gitlab project-snippet create --project_id=2
-Impossible to create object (Missing attribute(s): title, file_name, code)
+gitlab project-snippet create --project-id=2
+Impossible to create object (Missing attribute(s): title, file-name, code)
# oops, let's add the attributes:
-gitlab project-snippet create --project_id=2 --title="the title" --file_name="the name" --code="the code"
+gitlab project-snippet create --project-id=2 --title="the title" --file-name="the name" --code="the code"
`````