Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
jira worklog:get-worklogs --worklogId=18900 --worklogId=18901 --worklogId=18902 
Code Block
languagebash
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.

...