From 2f76383e32404c29b42345de5f7e2dc939f5e2ae Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 12 Jan 2021 22:57:55 -0500 Subject: Use hilex for up -h --- bin/man1/up.1 | 6 +++--- bin/up.sh | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'bin') 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;; -- cgit 1.4.1