]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
man: create xdg-ninja.1 man page
authorAsperatus <thomas@ballasi.com>
Wed, 10 May 2023 20:06:11 +0000 (16:06 -0400)
committerAsperatus <git@ballasi.com>
Thu, 11 May 2023 00:18:20 +0000 (20:18 -0400)
Makefile
man/xdg-ninja.1 [new file with mode: 0644]

index bde917401a78fd5205e5ebf4d08d13813d7b588f..7ecc1be344fc5a3e0e2b77dd6dfee362c32c804f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,10 @@ install:
        cp -r programs $(DESTDIR)$(PREFIX)/share/xdg-ninja/
        install -d $(DESTDIR)$(PREFIX)/share/doc/xdg-ninja/
        install -m 0644 LICENSE README.md $(DESTDIR)$(PREFIX)/share/doc/xdg-ninja/
+       install -m 0644 man/xdg-ninja.1 $(DESTDIR)$(PREFIX)/share/man/man1/
 
 uninstall:
        rm -rf $(DESTDIR)$(PREFIX)/bin/xdg-ninja \
               $(DESTDIR)$(PREFIX)/share/xdg-ninja \
-              $(DESTDIR)$(PREFIX)/share/doc/xdg-ninja
+              $(DESTDIR)$(PREFIX)/share/doc/xdg-ninja \
+              $(DESTDIR)$(PREFIX)/share/man/man1/xdg-ninja.1
diff --git a/man/xdg-ninja.1 b/man/xdg-ninja.1
new file mode 100644 (file)
index 0000000..2685919
--- /dev/null
@@ -0,0 +1,52 @@
+.nh
+.TH "xdg-ninja" "1" "May 2023" "b3nj5m1n" "xdg-ninja manual"
+
+.SH NAME
+.PP
+\fBxdg-ninja\fP — because you wouldn't let just anyone into your $HOME
+
+.SH SYNOPSIS
+.PP
+\fBxdg-ninja\fP [\fI\,OPTIONS\/\fR]
+.br
+\fBxdg-ninja\fP -h|--help
+
+.SH DESCRIPTION
+.PP
+A shell script which checks your $HOME for unwanted files and directories.
+
+.PP
+The script is designed to provide change recommendations and does not make any
+modifications to the system itself.
+
+.PP
+This program has optional runtime dependencies that can modify and improve the
+visual output. The recommended dependency for best results is \fIglow\fP.
+
+.SH OPTIONS
+.TP
+\fB-v\fP, \fB--no-skip-ok\fP
+Display messages for all files checked (verbose)
+.TP
+\fB--skip-ok\fP
+Don't display anything for files that do not exist (default behavior)
+.TP
+\fB--skip-unsupported\fP
+Don't display anything for files that do not have fixes available
+
+.SH ENVIRONMENT VARIABLES
+.TP
+\fBXN_PROGRAMS_DIR\fP=
+Overwrites the path where programs information are located (default: programs/
+or ../share/xdg-ninja/programs/)
+
+.SH COPYRIGHT
+.PP
+Licensed under the MIT license <http://opensource.org/licenses/MIT>.
+.br
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+
+.SH SEE ALSO
+.PP
+Sources, bug report, and more are available at <https://github.com/b3nj5m1n/xdg-ninja>.
\ No newline at end of file