1// Copyright (c) 2014-2018 Bitmark Inc.
2// Use of this source code is governed by an ISC
3// license that can be found in the LICENSE file.
4
5// Parses options of the forms:
6//   --help           - set empty string
7//   -h               - set empty string
8//   -v               - set empty string
9//   -v value         - set value
10//   --output=value   - set value
11//   --output value   - set value
12//   --o value        - set value
13//   --ovalue         - set value
14//   --               - stop option parsing
15//
16// Notes:
17//   --help value     - value is an argument, it is not assigned to "help"
18//   --output -v      - is an error as value is missing for required argument
19//   --output=-v      - is allowed, the value is "-v"
20//
21package getoptions
22