summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
committerJune McEnroe <june@causal.agency>2021-01-12 22:57:55 -0500
commit2f76383e32404c29b42345de5f7e2dc939f5e2ae (patch)
tree237effb8f54778562363e13632984c4f1ff9f752 /bin
parentUse hilex for bin HTML (diff)
downloadsrc-2f76383e32404c29b42345de5f7e2dc939f5e2ae.tar.gz
src-2f76383e32404c29b42345de5f7e2dc939f5e2ae.zip
Use hilex for up -h
Diffstat (limited to '')
-rw-r--r--bin/man1/up.16
-rw-r--r--bin/up.sh8
2 files changed, 7 insertions, 7 deletions
diff --git a/bin/man1/up.1 b/bin/man1/up.1
index 58b5359f..8b50c271 100644
--- a/bin/man1/up.1
+++ b/bin/man1/up.1
@@ -1,4 +1,4 @@
-.Dd July 15, 2019
+.Dd January 12, 2021
 .Dt UP 1
 .Os
 .
@@ -49,7 +49,7 @@ Run a command
 to produce a text file for upload.
 .It Fl h
 Use
-.Xr hi 1
+.Xr hilex 1
 to produce an HTML file for upload.
 .It Fl s
 Use
@@ -70,7 +70,7 @@ to produce an HTML file for upload.
 Any arguments after
 .Ql \-\-
 are passed to
-.Xr hi 1
+.Xr hilex 1
 and
 .Xr screencapture 1 ,
 respectively.
diff --git a/bin/up.sh b/bin/up.sh
index e65d4522..562ab489 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -32,10 +32,10 @@ uploadCommand() {
 	upload "${temp}/exec.txt"
 }
 
-uploadHi() {
+uploadHilex() {
 	temp
-	hi -f html -o document,anchor,tab=4 "$@" > "${temp}/hi.html"
-	upload "${temp}/hi.html"
+	hilex -f html -o document,tab=4 "$@" > "${temp}/hilex.html"
+	upload "${temp}/hilex.html"
 }
 
 uploadScreen() {
@@ -61,7 +61,7 @@ uploadTerminal() {
 while getopts 'chst' opt; do
 	case "$opt" in
 		(c) fn=uploadCommand;;
-		(h) fn=uploadHi;;
+		(h) fn=uploadHilex;;
 		(s) fn=uploadScreen;;
 		(t) fn=uploadTerminal;;
 		(?) exit 1;;