Command Options

Most accurev commands accept command-line options. accurev uses the C-language getopt library to process command-line options and arguments. This means:

  • If an option takes an argument, you can either include or omit a SPACE between the option and the argument. These are equivalent:

    accurev stat -s tulip_dvt ...
    accurev stat -stulip_dvt ...
  • In many cases, you can combine multiple options into a single token. These are equivalent:

    accurev merge -K -o ...
    accurev merge -Ko ...

Most options are single-dash (for example, -a), though the CLI does use double-dash options on occasion (--ignore and --outgoing, for example). Duplicate options (diff -v -v, for example) and Windows DOS-style options (/a instead of -a) are not supported.

For common usage patterns involving command options, see Selecting Elements Based on their Status.