Salome HOME
Fix return statement for 'salome context'
[modules/kernel.git] / bin / appliskel / .salome-completion.sh
index 07dcd4ba47ea23be776e8efef29a764fa8dd144a..8e69e5fdd435c4e498fd4d3e6f7165a2288829ce 100644 (file)
@@ -51,7 +51,7 @@ _salome()
     local cur prev command options
     COMPREPLY=( )
     _get_comp_words_by_ref -n = cur prev
-    commands='start context shell connect kill killall test info help coffee car'
+    commands='start context shell connect kill killall test info doc help coffee car'
 
     # Algorithm:
     # If cursor is at index 1
@@ -71,13 +71,13 @@ _salome()
         if [[ "$cur" == -* ]]; then
             case $command in
                 start)
-                    options='-t --terminal -g --gui -d --show-desktop= -o --hide-desktop -b --batch -l --logger -f --log-file= -r --resources= -x --xterm -m --modules= -e --embedded= -s --standalone= -p --portkill -k --killall -i --interp= -z --splash= -c --catch-exceptions= --print-port --nosave-config --pinter --ns-port-log= --test= --play= --gdb-session --ddd-session --valgrind-session -w --shutdown-servers= --foreground= --wake-up-session --server-launch-mode= --port= --version -h --help --with-mpi-module= --config= --extra_env='
+                    options='-t --terminal -g --gui -d --show-desktop= -o --hide-desktop -b --batch -l --logger -f --log-file= -r --resources= -x --xterm -m --modules= -e --embedded= -s --standalone= -p --portkill -k --killall -i --interp= -z --splash= -c --catch-exceptions= --print-port --nosave-config --pinter --ns-port-log= --test= --play= --gdb-session --ddd-session --valgrind-session -w --shutdown-servers= --foreground= --wake-up-session --server-launch-mode= --port= --version -h --help --with-mpi-module= --config='
                     ;;
                 shell)
-                    options='-h --help -p --port= -m --machine= -d --directory= -u --user= --with-mpi-module= --config= --extra_env='
+                    options='-h --help -p --port= -m --machine= -d --directory= -u --user= --with-mpi-module= --config='
                     ;;
                 info)
-                    options='-h --help -p --ports -v --version'
+                    options='-h --help -p --ports -s --softwares -v --version'
                     ;;
                 connect)
                     options='-h --help -c -p'