Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 3aab2dd

Browse files
committed
remove confpath short variant; broken in gonfig
see stevenroose/gonfig#35
1 parent 2479902 commit 3aab2dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following options are available:
3535

3636
| Flag | Environment | Description | Default | Required? |
3737
|---|---|---|---|---|
38-
|`-c`, `--confpath`| `INNOVAZAMMAD_CONFPATH` | Path to configuration file. | `innovazammad.yaml` | |
38+
|`--confpath`| `INNOVAZAMMAD_CONFPATH` | Path to configuration file. | `innovazammad.yaml` | |
3939
|`-l`, `--loglevel`| `INNOVAZAMMAD_LOGLEVEL` | How much logging will be output to stdout (values as supported by [logrus](https://github.com/sirupsen/logrus)). | `warn` | |
4040
|`--pbx.url`| `INNOVAZAMMAD_PBX_URL` | Under which URL should `innovazammad` attempt to connect to the PBX. | _none_ | × |
4141
|`--pbx.endpointpath`| `INNOVAZAMMAD_PBX_ENDPOINTPATH` | Path under `pbx.url` where the API is accessible. | `/PBX0/user.soap` ||

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var Global = Config{}
1010

1111
// Config holds the configurable options with their respective defaults.
1212
type Config struct {
13-
ConfPath string `id:"confpath" short:"c" desc:"path to config file"`
13+
ConfPath string `id:"confpath" desc:"path to config file"`
1414
LogLevel string `default:"warn" short:"l" desc:"log level (debug/info/warn/error)"`
1515
PBX struct {
1616
URL string `desc:"URL to innovaphone PBX"`

0 commit comments

Comments
 (0)