Skip to content

Commit b4bc9df

Browse files
author
Gauvain Pocentek
committed
README: use - instead of _ in examples
1 parent 7be3d54 commit b4bc9df

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,18 @@ gitlab project list
118118
gitlab project get --id=2
119119

120120
# get a list of snippets for this project:
121-
gitlab project-issue list --project_id=2
121+
gitlab project-issue list --project-id=2
122122

123123
# delete a Snippet (id 3):
124-
gitlab project-snippet delete --id=3 --project_id=2
124+
gitlab project-snippet delete --id=3 --project-id=2
125125

126126
# update a Snippet:
127-
gitlab project-snippet update --id=4 --project_id=2 --code="My New Code"
127+
gitlab project-snippet update --id=4 --project-id=2 --code="My New Code"
128128

129129
# create a Snippet:
130-
gitlab project-snippet create --project_id=2
131-
Impossible to create object (Missing attribute(s): title, file_name, code)
130+
gitlab project-snippet create --project-id=2
131+
Impossible to create object (Missing attribute(s): title, file-name, code)
132132

133133
# oops, let's add the attributes:
134-
gitlab project-snippet create --project_id=2 --title="the title" --file_name="the name" --code="the code"
134+
gitlab project-snippet create --project-id=2 --title="the title" --file-name="the name" --code="the code"
135135
`````

0 commit comments

Comments
 (0)