Skip to content

Commit a8d2042

Browse files
committed
Edited docstrings for some macros to match recommended usage in documentation
1 parent aee6030 commit a8d2042

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/macros.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Must be used in `@beginarguments begin ... end` block
6262
```julia
6363
@beginarguments begin
6464
...
65-
@argumentrequired String output_file "--output" "-o"
65+
@argumentrequired String output_file "-o" "--output"
6666
...
6767
end
6868
```
@@ -89,7 +89,7 @@ Must be used in `@beginarguments begin ... end` block
8989
```julia
9090
@beginarguments begin
9191
...
92-
@argumentdefault String "output.txt" output_file "--output" "-o"
92+
@argumentdefault String "output.txt" output_file "-o" "--output"
9393
...
9494
end
9595
```
@@ -116,7 +116,7 @@ Must be used in `@beginarguments begin ... end` block
116116
```julia
117117
@beginarguments begin
118118
...
119-
@argumentoptional String output_file "--output" "-o"
119+
@argumentoptional String output_file "-o" "--output"
120120
...
121121
end
122122
```
@@ -143,7 +143,7 @@ Must be used in `@beginarguments begin ... end` block
143143
```julia
144144
@beginarguments begin
145145
...
146-
@argumentflag verbose "--verbose" "-v"
146+
@argumentflag verbose "-v" "--verbose"
147147
...
148148
end
149149
```

0 commit comments

Comments
 (0)