Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nccf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
702
Provoz
nccf
Commits
39a137c1
Commit
39a137c1
authored
3 years ago
by
Yorhel
Browse files
Options
Downloads
Patches
Plain Diff
Add reference to "man ncdu" in --help text
Not going to bloat the help output with all those settings...
parent
53d3e4c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.zig
+23
-18
23 additions, 18 deletions
src/main.zig
with
23 additions
and
18 deletions
src/main.zig
+
23
−
18
View file @
39a137c1
...
...
@@ -286,24 +286,29 @@ fn version() noreturn {
fn
help
()
noreturn
{
std
.
io
.
getStdOut
().
writer
().
writeAll
(
"ncdu <options> <directory>
\n\n
"
++
" -h,--help This help message
\n
"
++
" -q Quiet mode, refresh interval 2 seconds
\n
"
++
" -v,-V,--version Print version
\n
"
++
" -x Same filesystem
\n
"
++
" -e Enable extended information
\n
"
++
" -r Read only
\n
"
++
" -o FILE Export scanned directory to FILE
\n
"
++
" -f FILE Import scanned directory from FILE
\n
"
++
" -0,-1,-2 UI to use when scanning (0=none,2=full ncurses)
\n
"
++
" --si Use base 10 (SI) prefixes instead of base 2
\n
"
++
" --exclude PATTERN Exclude files that match PATTERN
\n
"
++
" -X, --exclude-from FILE Exclude files that match any pattern in FILE
\n
"
++
" -L, --follow-symlinks Follow symbolic links (excluding directories)
\n
"
++
" --exclude-caches Exclude directories containing CACHEDIR.TAG
\n
"
++
" --exclude-kernfs Exclude Linux pseudo filesystems (procfs,sysfs,cgroup,...)
\n
"
++
" --confirm-quit Confirm quitting ncdu
\n
"
++
" --color SCHEME Set color scheme (off/dark/dark-bg)
\n
"
\\
ncdu
<
options
>
<
directory
>
\\
\\
Options
:
\\
-
h
,
--
help
This
help
message
\\
-
q
Quiet
mode
,
refresh
interval
2
seconds
\\
-
v
,
-
V
,
--
version
Print
version
\\
-
x
Same
filesystem
\\
-
e
Enable
extended
information
\\
-
r
Read
only
\\
-
o
FILE
Export
scanned
directory
to
FILE
\\
-
f
FILE
Import
scanned
directory
from
FILE
\\
-
0
,
-
1
,
-
2
UI
to
use
when
scanning
(
0
=
none
,
2
=
full
ncurses
)
\\
--
si
Use
base
10
(
SI
)
prefixes
instead
of
base
2
\\
--
exclude
PATTERN
Exclude
files
that
match
PATTERN
\\
-
X
,
--
exclude
-
from
FILE
Exclude
files
that
match
any
pattern
in
FILE
\\
-
L
,
--
follow
-
symlinks
Follow
symbolic
links
(
excluding
directories
)
\\
--
exclude
-
caches
Exclude
directories
containing
CACHEDIR
.
TAG
\\
--
exclude
-
kernfs
Exclude
Linux
pseudo
filesystems
(
procfs
,
sysfs
,
cgroup
,
...
)
\\
--
confirm
-
quit
Confirm
quitting
ncdu
\\
--
color
SCHEME
Set
color
scheme
(
off
/
dark
/
dark
-
bg
)
\\
\\
Refer
to
`
man
ncdu
`
for
the
full
list
of
options
.
\\
)
catch
{};
std
.
process
.
exit
(
0
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment