aboutsummaryrefslogtreecommitdiff
path: root/build/options.cli
blob: 67eeba27ba84c78fabde4fbf6f75c3fa836f08fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// file      : build/options.cli
// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

include <cstdint>;

class options
{
  bool --help {"Print usage information and exit."};
  bool --version {"Print version and exit."};

  bool -v
  {
    "Print actual commands being executed. This is equivalent to
     \cb{--verbose 1}."
  };

  std::uint16_t --verbose = 0
  {
    "<level>",
    "Set the diagnostics verbosity to a level between 0 (disabled) and
     5 (lots of information). @@ Need to document further."
  };
};