From d820dcf9fd858e7ea78671b0769a639801762d61 Mon Sep 17 00:00:00 2001 From: Jonathan Dahan Date: Tue, 8 Dec 2020 15:39:24 -0500 Subject: [PATCH] cleanup help output --- Cargo.lock | 2 +- Cargo.toml | 2 +- changelog.md | 3 +++ readme.md | 8 ++++---- src/main.rs | 11 +++++------ 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 853d192..5d1c498 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -734,7 +734,7 @@ checksum = "45af6a010d13e4cf5b54c94ba5a2b2eba5596b9e46bf5875612d332a1f2b3f86" [[package]] name = "zr" -version = "1.0.0" +version = "1.0.2" dependencies = [ "directories", "git2", diff --git a/Cargo.toml b/Cargo.toml index 0360156..3ff6682 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zr" -version = "1.0.0" +version = "1.0.2" authors = ["Jonathan Dahan "] description = "quick, simple zsh package manager" readme = "readme.md" diff --git a/changelog.md b/changelog.md index 861e25c..99635a4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +# 1.0.2 +* cleanup help output + # 1.0.1 * add `functions` directories to fpath if functions are found * updated dependencies diff --git a/readme.md b/readme.md index e13df33..06f14c7 100644 --- a/readme.md +++ b/readme.md @@ -7,11 +7,11 @@ Quick, simple zsh plugin manager - zr 1.0.0 - by Jonathan Dahan + zr 1.0.2 + by Jonathan Dahan - zr --update updates loaded files listened in _ZR environment variable - zr [[http://example.com]plugin/name[.git/path/to/file.zsh]] fetch or update plugins and output sourceable zsh + zr [[http://example.com]plugin/name[.git/path/to/file.zsh]] fetch plugins and output sourceable zsh + zr --update updates plugins from already sourced zsh zr help show help #### install diff --git a/src/main.rs b/src/main.rs index ccc34bf..af49478 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,13 +37,12 @@ fn main() { } fn help() { - println!(" - {name} {version} - by Jonathan Dahan + println!("{name} {version} +by Jonathan Dahan - {name} [[http://example.com]plugin/name[.git/path/to/file.zsh]] fetch plugins and output sourceable zsh - {name} --update update plugins from already sourced zsh - {name} help show help", version=VERSION, name=NAME); +{name} [[http://example.com]plugin/name[.git/path/to/file.zsh]] fetch plugins and output sourceable zsh +{name} --update update plugins from already sourced zsh +{name} help show help", version=VERSION, name=NAME); } /// Take a list of identifiers (from cli args) and output sourceable zsh