commit 3ce39cc517ad52db364c3efa20320ec06ba56b1e
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Sun Oct 10 16:42:55 2021 +0000
diff --git a/README.md b/README.md
index bcb0eb0..1eca135 100644
--- a/README.md
+++ b/README.md
@@ -76 +710 @@ A small file manager written in C.
If an argument is provided, cscroll will open the path supplied. Otherwise it will open on the current working directory.
+### Options
+
+* `-p`: Print the path cscroll ends in. Useful for commands like `cd $(cscroll -p)` to cd into the last directory.
+
### Commands
* `j` or `down arrow key`: Move the cursor down
@@ -229 +269 @@ If an argument is provided, cscroll will open the path supplied. Otherwise it wi
## Installation
-cscroll has one dependency: ncurses. To compile cscroll, you must install `libncurses`.
+cscroll has one dependency: ncurses. To compile cscroll you must install `libncurses`.
-On Debian and Ubuntu based system, this should be titled `libncurses-dev` and may be installed with `sudo apt install libncurses-dev`.
+On Debian and Ubuntu based system this should be titled `libncurses-dev` and may be installed with `sudo apt install libncurses-dev`.
Then run `make` to compile. The program will then be accessible by running `./cscroll`.