Add "test" target for some linting; reorder man page sections

This commit is contained in:
Yorhel 2024-04-20 15:56:12 +02:00
parent d60bcb2113
commit 0e54ca775c
2 changed files with 16 additions and 11 deletions

View file

@ -13,7 +13,7 @@ ZIG_FLAGS ?= --release
NCDU_VERSION=$(shell grep 'program_version = "' src/main.zig | sed -e 's/^.*"\(.\+\)".*$$/\1/')
.PHONY: build
.PHONY: build test
build: release
release:
@ -93,3 +93,8 @@ static:\
static-linux-x86 \
static-linux-aarch64 \
static-linux-arm
test:
zig build test
mandoc -T lint ncdu.1
reuse lint

20
ncdu.1
View file

@ -473,6 +473,16 @@ the local system without any network latency, and
.Nm
does not keep the entire directory structure in memory when exporting, so this
won't consume much memory on the remote system.
.Sh SEE ALSO
.Xr du 1 ,
.Xr tree 1 .
.Pp
.Nm
has a website:
.Lk https://dev.yorhel.nl/ncdu
.Sh AUTHORS
Written by
.An Yorhel Aq Mt projects@yorhel.nl
.Sh BUGS
Directory hard links and firmlinks (MacOS) are not supported.
They are not detected as being hard links, and will thus get scanned and
@ -500,13 +510,3 @@ directory.
Please report any other bugs you may find at the bug tracker, which can be
found on the web site at
.Lk https://dev.yorhel.nl/ncdu
.Sh SEE ALSO
.Xr du 1 ,
.Xr tree 1 .
.Pp
.Nm
has a website:
.Lk https://dev.yorhel.nl/ncdu
.Sh AUTHORS
Written by
.An Yorhel Aq Mt projects@yorhel.nl