You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
# weave launch -p
The weave container has died. Consult the logs with 'docker logs weave' for further details.
# docker logs weave
flag provided but not defined: -p
See '/home/weave/weaver --help'.
The path /home/weave/weaver is internal to the container, so the user would find it hard to follow this advice.
The text was updated successfully, but these errors were encountered:
The standard mflags error reporting produces an error like
```
flag provided but not defined: -p
See '/home/weave/weaver --help'.
```
on stderr. This is misleading since the program name is container
local, so not something the user actually invoked. Furthermore, what
the user *can* invoke doesn't have a `--help` option.
With this change the error becomes
```
FATA: 2015/08/18 10:56:23.635119 Incorrect usage: flag provided but not defined: -p
```
There are a few issues with this:
- we no longer get a usage message
- we no longer get deprecation warnings logged
Fixes#1321.
The standard mflags error reporting produces an error like
```
flag provided but not defined: -p
See '/home/weave/weaver --help'.
```
on stderr. This is misleading since the program name is container
local, so not something the user actually invoked. Furthermore, what
the user *can* invoke doesn't have a `--help` option.
With this change the error becomes
```
FATA: 2015/08/18 10:56:23.635119 Incorrect usage: flag provided but not defined: -p
```
There are a few issues with this:
- we no longer get a usage message
- we no longer get deprecation warnings logged
Fixes#1321.
The standard mflags error reporting produces s.t. like
```
flag provided but not defined: -p
See '/home/weave/weaver --help'.
```
on stderr. This is misleading since the program name is container
local, so not something the user actually invoked.
Fixes#1321.
Example:
The path
/home/weave/weaver
is internal to the container, so the user would find it hard to follow this advice.The text was updated successfully, but these errors were encountered: