From edeb4b71817390bfe887c6c53677dcf316d9c459 Mon Sep 17 00:00:00 2001
From: Wayne Lewis <wayne.lewis@ess.eu>
Date: Tue, 28 Sep 2021 10:23:20 -0700
Subject: [PATCH] Update iocsh.bash usage information

Reorder to match order in function
Add realtime option
Add iocInit override option
---
 require-ess/tools/iocsh_functions.bash | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/require-ess/tools/iocsh_functions.bash b/require-ess/tools/iocsh_functions.bash
index 956c6ad8..da4d4d4c 100644
--- a/require-ess/tools/iocsh_functions.bash
+++ b/require-ess/tools/iocsh_functions.bash
@@ -422,11 +422,16 @@ function help() {
     printf "Options:\n\n"
     printf "  -?, -h, --help   Show this page and exit.\n"
     printf "  -v, --version    Show version and exit.\n"
+    printf "  -rt              Execute in realtime mode.\n"
+    printf "                   (Also -RT, -realtime, --realtime)\n"
     printf "  -c 'cmd args'    Ioc shell command.\n"
-    printf "  -l 'cell path'   Run Ioc with a cell path.\n"
     printf "  -s 'prog m=v'    Sequencer program (and arguments), run with 'seq'.\n"
     printf "                   This forces an 'iocInit' before running the program.\n"
+    printf "  -i               Do not add iocInit. This option does not override\n"
+    printf "                   a valid iocInit in the startup script.\n"
+    printf "                   (Also -noinit, --noinit)"
     printf "  -r module[,ver]  Module (optionally with version) loaded via 'require'.\n"
+    printf "  -l 'cell path'   Run Ioc with a cell path.\n"
     printf "  -dg              Run with debugger gdb.\n"
     printf "  -dv              Run with valgrind.\n"
     printf "  -n               Run with 'nice --10' (requires sudo).\n"
-- 
GitLab