summary refs log tree commit diff
diff options
context:
space:
mode:
-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;;