diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-19 13:55:43 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-19 13:55:43 +0300 |
commit | 47b1015c0f6fbd7fd5299f66666cd97605fd5ef3 (patch) | |
tree | 4964c0982ada1bcff11b3732898f59021a455ce8 | |
parent | refactoring (diff) | |
download | windows-env-47b1015c0f6fbd7fd5299f66666cd97605fd5ef3.tar.gz windows-env-47b1015c0f6fbd7fd5299f66666cd97605fd5ef3.zip |
README update
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | apps/SetEnv.hs | 2 | ||||
-rw-r--r-- | apps/UnsetEnv.hs | 2 |
3 files changed, 13 insertions, 7 deletions
@@ -34,15 +34,21 @@ Usage The complete list of utilities is given below. -* [list_path](#list_path) — List directories in your `PATH`. -* [add_path](#add_path) — Add directories to your `PATH`. -* [remove_path](#remove_path) — Remove directories from your `PATH`. -* [set_env](#set_env) — Set environment variable. -* [unset_env](#unset_env) — Unset environment variable. +* [list_path] — List directories in your `PATH`. +* [add_path] — Add directories to your `PATH`. +* [remove_path] — Remove directories from your `PATH`. +* [set_env] — Set environment variables. +* [unset_env] — Unset environment variables. Pass the `--help` flag to a utility to examine its detailed usage information. Some examples are given below. +[list_path]: #list_path +[add_path]: #add_path +[remove_path]: #remove_path +[set_env]: #set_env +[unset_env]: #unset_env + ### list_path List directories in your `PATH` variable: diff --git a/apps/SetEnv.hs b/apps/SetEnv.hs index 482bb31..debc1d0 100644 --- a/apps/SetEnv.hs +++ b/apps/SetEnv.hs @@ -45,7 +45,7 @@ main :: IO () main = execParser parser >>= setEnv where parser = info (helper <*> optionParser) $ - fullDesc <> progDesc "Set environment variable" + fullDesc <> progDesc "Set environment variables" setEnv :: Options -> IO () setEnv options = void $ promptAnd engrave diff --git a/apps/UnsetEnv.hs b/apps/UnsetEnv.hs index 767c681..e08c95a 100644 --- a/apps/UnsetEnv.hs +++ b/apps/UnsetEnv.hs @@ -40,7 +40,7 @@ main :: IO () main = execParser parser >>= unsetEnv where parser = info (helper <*> optionParser) $ - fullDesc <> progDesc "Unset environment variable" + fullDesc <> progDesc "Unset environment variables" unsetEnv :: Options -> IO () unsetEnv options = void $ promptAnd wipe |