summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-11-17 02:45:20 +0000
committerClint Adams <clint@users.sourceforge.net>2005-11-17 02:45:20 +0000
commitfe3b0d58494b858c45ad149b54d0476046b29493 (patch)
tree76b1d0cd2108db7ade00e50a9265331e4d9c1a44 /Completion
parent2288d7760b674e54693e32e0d7e0f1040f177f83 (diff)
downloadzsh-fe3b0d58494b858c45ad149b54d0476046b29493.tar.gz
zsh-fe3b0d58494b858c45ad149b54d0476046b29493.tar.xz
zsh-fe3b0d58494b858c45ad149b54d0476046b29493.zip
22005: completion for flasher utility for Nokia 770 Internet Tablet.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_flasher29
1 files changed, 29 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_flasher b/Completion/Unix/Command/_flasher
new file mode 100644
index 000000000..d5820e116
--- /dev/null
+++ b/Completion/Unix/Command/_flasher
@@ -0,0 +1,29 @@
+#compdef flasher
+
+_arguments \
+  '(--fiasco -F)'{--fiasco,-F}':location of a FIASCO image:_files' \
+  '(--kernel -k)'{--kernel,-k}':location of kernel image:_files' \
+  '(--initfs -n)'{--initfs,-n}':location of initfs image:_files' \
+  '(--rootfs -r)'{--rootfs,-r}':location of root JFFS2 image:_files' \
+  '(--xloader -x)'{--xloader,-x}':location of X-Loader image:_files' \
+  '(--secondary -s)'{--secondary,-s}':location of NOLO secondary bootloader image:_files' \
+  '(--2nd -2)'{--2nd,-2}':location of NOLO cold flasher ("2nd") image:_files' \
+  '(--unpack -u)'{--unpack,-u}'::unpack a FIASCO image:_files' \
+  '(--flash -f)'{--flash,-f}'[load and flash all supplied images]' \
+  '(--load -l)'{--load,-l}'[only load all supplied images]' \
+  '(--boot -b)'{--boot,-b}'::kernel cmdline' \
+  '(--reboot -R)'{--reboot,-R}'[reboot the board]' \
+  '(--read-board-id -i)'{--read-board-id,-i}'[print out the board type]' \
+  '(--serial-port -S)'{--serial-port,-S}':serial port used for cold flashing' \
+  '(--initialize-port -I)'{--initialize-port,-I}':something' \
+  '(--cold-flash -c)'{--cold-flash,-c}'[cold flash the device]' \
+  '--enable-rd-mode[enable R&D mode on the device]' \
+  '--disable-rd-mode[disable R&D mode on the device]' \
+  '--set-rd-flags::R&D mode flags to set' \
+  '--clear-rd-flags::R&D mode flags to clear' \
+  '--query-rd-mode[query the device R&D mode status and flags]' \
+  '--set-root-device:default root device' \
+  '--query-root-device[query the default root device]' \
+  '--enable-usb-host-mode[set the device into USB host mode]' \
+  '--disable-usb-host-mode[set the device into USB peripheral mode]' \
+  '--flash-only:components'