aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 13:55:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-19 13:55:43 +0300
commit47b1015c0f6fbd7fd5299f66666cd97605fd5ef3 (patch)
tree4964c0982ada1bcff11b3732898f59021a455ce8
parentrefactoring (diff)
downloadwindows-env-47b1015c0f6fbd7fd5299f66666cd97605fd5ef3.tar.gz
windows-env-47b1015c0f6fbd7fd5299f66666cd97605fd5ef3.zip
README update
Diffstat (limited to '')
-rw-r--r--README.md16
-rw-r--r--apps/SetEnv.hs2
-rw-r--r--apps/UnsetEnv.hs2
3 files changed, 13 insertions, 7 deletions
diff --git a/README.md b/README.md
index f631899..2c41648 100644
--- a/README.md
+++ b/README.md
@@ -34,15 +34,21 @@ Usage
The complete list of utilities is given below.
-* [list_path](#list_path) &mdash; List directories in your `PATH`.
-* [add_path](#add_path) &mdash; Add directories to your `PATH`.
-* [remove_path](#remove_path) &mdash; Remove directories from your `PATH`.
-* [set_env](#set_env) &mdash; Set environment variable.
-* [unset_env](#unset_env) &mdash; Unset environment variable.
+* [list_path] &mdash; List directories in your `PATH`.
+* [add_path] &mdash; Add directories to your `PATH`.
+* [remove_path] &mdash; Remove directories from your `PATH`.
+* [set_env] &mdash; Set environment variables.
+* [unset_env] &mdash; 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