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 Sep 14, 2023. It is now read-only.
I have the following USAGE trimmed way down to try and find the thing I was misunderstanding:
const USAGE: &'static str = "
App Therapy.
Usage:
app_therapy (-h | --help)
app_therapy --agent
Options:
-h, --help Show this screen
--agent Launch in agent mode (Listen for incomming commands)
";
#[derive(Debug, RustcDecodable)]
struct Args {
flag_agent: bool
}
However when I try to run the binary with the --agent flag I get the following error:
thread 'main' panicked at 'I don't know how to read into a nil value.', /Users/leakybucket/.cargo/registry/src/github.com-1ecc6299db9ec823/docopt-0.6.86/src/dopt.rs:735
Could you please include the full source code you're using that produce the error? It seems you've only included part of it. Without the other part, I can't actually reproduce your problem.
I have the following
USAGE
trimmed way down to try and find the thing I was misunderstanding:However when I try to run the binary with the
--agent
flag I get the following error:Here is the full backtrace:
I'm running the following
toolchain
The text was updated successfully, but these errors were encountered: