diff --git a/README.md b/README.md index 08d85dc..6a58a4d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ In order to use `drg` to manage resources in drogue cloud you first need to auth drg login https://drogue-cloud-registry-endpoint -Then follow the steps to authenticate. drg will ask you to name this new context and generate a config file to save your configuration. +Then follow the steps to authenticate. drg will generate a config file to save your configuration. You can also use a refresh token to authenticate, suitable when the browser can't be accessed: diff --git a/rust-drg.spec b/rust-drg.spec index b3e8457..f092e3e 100644 --- a/rust-drg.spec +++ b/rust-drg.spec @@ -5,7 +5,7 @@ %global crate drg Name: rust-%{crate} -Version: 0.5.0 +Version: 0.5.1 Release: 1.20210406114535497168.main.19.ga7278ba%{?dist} Summary: Command line tool to interact with a drogue-cloud instance diff --git a/src/main.rs b/src/main.rs index 3c9dfb5..8d7dc1b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,6 +110,7 @@ fn main() -> Result<()> { } let context = config.get_context(&context_arg)?; + // todo : deprecated if command == Other_commands::token.as_ref() { openid::print_token(&context); exit(0);