commit 855a0f07c1055dc0d171e9e5d7c283262779b137
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Mon Aug 29 11:17:06 2022 +0000
diff --git a/README.md b/README.md
index 3beefe5..c1b0319 100644
--- a/README.md
+++ b/README.md
@@ -316 +318 @@ File colors can also be customized. ([see variables](#variables))
### Options
+* `-A`: Show dotfiles in listings but exclude . and ..
+* `-a`: (Only available in oneshot mode) List all dotfiles including . and ..
* `-p`: Print the path cscroll ends in. Useful for commands like `cd $(cscroll -p)` to cd into the last directory
* `-nc`: Turn off coloring. cscroll will run in black and white mode
* `-ni`: (If compiled with icons) turn off icons on start
diff --git a/src/main.c b/src/main.c
index 7ff660d..5ffba8c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -45713 +45716 @@ void help(void) {
" cscroll [OPTION]... [DIR]\n"
"\n"
"Options:\n"
- " --help Show this screen and exit\n"
+ " -A Show dotfiles except . and ..\n"
+ " -a Show all dotfiles, including . and ..\n"
+ " Only available in oneshot mode\n"
" -nc Turn off colors\n"
#if ICONS
" -ni Turn off icons\n"
#endif
" -l Print files in long mode\n"
" -p Print the path cscroll is in when it exits\n"
+ " --help Show this screen and exit\n"
" --oneshot Print and exit as if cscroll is ls\n"
"\n"
"See https://github.com/Raniconduh/cscroll for documentation\n"