aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
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) — 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