diff options
author | June McEnroe <june@causal.agency> | 2021-01-12 22:57:55 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-12 22:57:55 -0500 |
commit | 7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9 (patch) | |
tree | 3b33268a41c3532223200f53b6d1c4f6f78c1c9d | |
parent | Use hilex for bin HTML (diff) | |
download | src-7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9.tar.gz src-7bc5cc46e62f5990d9e9258e030f8fbf4a41e2b9.zip |
Use hilex for up -h
Diffstat (limited to '')
-rw-r--r-- | bin/man1/up.1 | 6 | ||||
-rw-r--r-- | bin/up.sh | 8 |
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;; |