about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorNova [ミラーワールド] <novaburst@kalli.st>2021-12-09 16:14:18 +0000
committerNova [ミラーワールド] <novaburst@kalli.st>2021-12-09 16:14:18 +0000
commit57431c43949412e9c65fb7aeae4b38d45d291c49 (patch)
tree41e17d38b6262123d4b6bb241989a6469f4df66f
parent633b333738406c99f157f23d4ee88bae8cd7350f (diff)
downloadayu-57431c43949412e9c65fb7aeae4b38d45d291c49.tar.gz
The first step in fixing something is getting it to break.
-rw-r--r--ayu.mdoc20
-rw-r--r--makefile2
2 files changed, 19 insertions, 3 deletions
diff --git a/ayu.mdoc b/ayu.mdoc
index f94a177..62429b0 100644
--- a/ayu.mdoc
+++ b/ayu.mdoc
@@ -1,4 +1,4 @@
-.Dd 2021-12-06
+.Dd 2021-12-09
 .Dt ayu 1
 .Os
 .Sh NAME
@@ -26,12 +26,28 @@ This program is in early status of development
 .Sy list
 .Ss Remove an entry
 .Nm ayu
-.Sy rm
+.Sy remove
 .Em entry
 .Ss View an antry
 .Nm ayu
 .Sy view
 .Em entry
+.Sh ALIASES
+.Sy ed
+Alias for 
+.Sy edit
+.Pp
+.Sy ls
+Alias for
+.Sy list
+.Pp
+.Sy rm
+Alias for
+.Sy remove
+.Pp
+.Sy vi
+Alias for
+.Sy view
 .Sh CAVEATS
 You have to generate your own keypair using 
 .Xr age-keygen(1)
diff --git a/makefile b/makefile
index 5ead151..44d1638 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@ prefix ?= /usr/local
 
 install:
 	install -Dm0755 ayu $(destdir)$(prefix)/bin/ayu
-	install -Dm0644 ayu.mdoc $(destdir)$(prefix)/share/man/man1/ayu.1
+	mandoc -T man ayu.mdoc > $(destdir)$(prefix)/share/man/man1/ayu.1
 uninstall:
 	rm -f $(destdir)$(prefix)/bin/ayu
 	rm -f $(destdir)$(prefix)/share/man/man1/ayu.1