aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2019-07-17 13:06:31 -0400
committerSolderpunk <solderpunk@sdf.org>2019-08-31 10:32:30 +0000
commit147aaef6f538c2ed69dd2516d114a8c497599d9d (patch)
tree2cd3ec439819695dc7253f819eb8c6db1f0a25f0
parentAdded a man page (diff)
Extended help now opens the man page
Signed-off-by: Solderpunk <solderpunk@sdf.org>
-rw-r--r--telem.12
-rwxr-xr-xtelem.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/telem.1 b/telem.1
index 8fd6172..b4520b1 100644
--- a/telem.1
+++ b/telem.1
@@ -247,7 +247,7 @@ Exit
.It (h)elp
List available commands
.It (?)
-Expanded help and information
+Open this man page
.It (!)
A few simple rules of use for this board
.It (c)olor
diff --git a/telem.lua b/telem.lua
index f077680..9418136 100755
--- a/telem.lua
+++ b/telem.lua
@@ -335,7 +335,7 @@ function do_help()
end
function do_help2()
- cat_file(path.join(_BBS_ROOT, "docs", "help2"))
+ os.execute("man 1 telem")
end
function do_list()