Note that token can be read from stdin
authorPaul Kernfeld <paulkernfeld@users.noreply.github.com>
Thu, 2 Nov 2017 21:52:00 +0000 (17:52 -0400)
committerGitHub <noreply@github.com>
Thu, 2 Nov 2017 21:52:00 +0000 (17:52 -0400)
src/bin/login.rs

index 499980c6d31ce4fe1a6e2b394dbfc3a054c8a7c5..d8a0ad471096eeb20362aacfdae1fce3a7fcd16e 100644 (file)
@@ -21,7 +21,7 @@ pub struct Options {
 }
 
 pub const USAGE: &'static str = "
-Save an api token from the registry locally
+Save an api token from the registry locally. If token is not specified, it will be read from stdin.
 
 Usage:
     cargo login [options] [<token>]