...
First command above uses an argument to specify an issue. The second command uses a flag to specify an issue.
Repeated Flags
Sometimes a flag can be repeated multiple times. Both of following examples are valid and do the same thing.
Code Block | ||
---|---|---|
| ||
jira worklog:get-worklogs --worklogId=18900 --worklogId=18901 --worklogId=18902 |
Code Block | ||
---|---|---|
| ||
jira worklog:get-worklogs --worklogId=18900 18901 18902 |
Boolean Flags
Boolean flags have usually a default value and you don’t need to specify it when it has a default value. Yes no for boolean flags are specified with ‘--no’ prefix.
Code Block |
---|
--notifyUsers
--no-notifyUser |
Help
You can use ‘--help' to see all available arguments and flags for a command.
...