Lines Matching refs:tokens
20 set -l tokens (commandline -opc)
22 for t in $tokens
41 set -l tokens (commandline -opc)
47 if test (math (count $tokens) - 2) -ge $max
55 if contains $argv[idx] $tokens
77 set -l tokens (commandline -opc)
80 if string match -qr -- "$token*" "$tokens[-1]"
90 set -l tokens (commandline -opc)
92 for idx in (seq 2 (count $tokens))
93 switch $tokens[$idx]
99 switch $tokens[$prv_idx]
116 set -l tokens (commandline -opc)
117 set -e tokens[1]
121 if contains -- "help" $tokens
125 for token in $tokens
136 set -l tokens (commandline -opc)
140 for idx in (seq 1 (count $tokens))
141 if test \("$tokens[$idx]" = "-z"\) -o \("$tokens[$idx]" = "--zephyr-base"\)
142 if set -q $tokens[(math $idx + 1)]
143 set $zephyr_base $tokens (math $idx + 1)