From 43fa33214433729b5267edb96683e8918c695136 Mon Sep 17 00:00:00 2001 From: windvalley Date: Fri, 14 Jan 2022 16:53:28 +0800 Subject: [PATCH] chore(Changelog): update --- CHANGELOG.md | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34e56c2..2fddbf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.6.0] + ### Changed - Hide global flags that are not used by some subcommands @@ -22,15 +24,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Hide all global flags for subcommand `version`. - Hide all global flags except following for `vault`. - - `-V/auth.vault-pass-file` - - `-v/output.verbose` - - `-j/output.json` - - `-q/output.quiet` - - `-o/output.file` - - `-C/output.condense` + + - `-V/--auth.vault-pass-file` + - `-v/--output.verbose` + - `-j/--output.json` + - `-q/--output.quiet` + - `-o/--output.file` + - `-C/--output.condense` + + - Hide following global flags for subcommand `push`. + - `-s/--run.sudo` + - `-U/--run.as-user` + - `-L/--run.lang` - Optimize the order of available commands. Before: + ```text Available Commands: command Execute commands on target hosts @@ -43,7 +52,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 vault Encryption and decryption utility version Show gossh version information ``` + After: + ```text Available Commands: command Execute commands on target hosts @@ -57,6 +68,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 completion Generate the autocompletion script for the specified shell ``` +- Optimize the order of flags to make them more friendly + ([#23](https://github.com/windvalley/gossh/issues/23)). + +- Password prompt for login user changed from `Password` to `Password for zhangsan`. + +- Optimize output error messages that caused by improper use. + ### Fixed - Fix default `completion` command description is inconsistent with others