From 50f88f64841950487eae7c5e5860f302c8bf92fd Mon Sep 17 00:00:00 2001 From: jbtrystram Date: Wed, 26 May 2021 17:11:04 +0200 Subject: [PATCH] update readme --- README.md | 2 +- rust-drg.spec | 2 +- src/main.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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);