Skip to content

Commit 6478e77

Browse files
committed
update example
1 parent 5728ace commit 6478e77

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

examples/command-examples/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ commands:
6666
# over how the examples are displayed. Note the use of the '|-' marker
6767
# that tells YAML to use the string as is, including the newlines it contains.
6868
examples: |-
69-
Upload a file
70-
$ cli upload profile.png --user admin
69+
Upload a file
70+
$ cli upload profile.png -u admin -p s3cr3t
7171
72-
Upload a file and prompt for password
73-
$ cli upload profile.png -u admin -p
72+
Upload a file (you will be prompted to provide a password)
73+
$ cli upload profile.png --user admin
7474
```
7575
7676

examples/command-examples/src/bashly.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ commands:
4949
# over how the examples are displayed. Note the use of the '|-' marker
5050
# that tells YAML to use the string as is, including the newlines it contains.
5151
examples: |-
52-
Upload a file
52+
Upload a file
53+
$ cli upload profile.png -u admin -p s3cr3t
54+
55+
Upload a file (you will be prompted to provide a password)
5356
$ cli upload profile.png --user admin
5457
55-
Upload a file and prompt for password
56-
$ cli upload profile.png -u admin -p
5758

0 commit comments

Comments
 (0)