Skip to content

Instantly share code, notes, and snippets.

@jan-matejka
Created August 2, 2017 12:58
Show Gist options
  • Select an option

  • Save jan-matejka/1a42f14a8187c6ab1fb821a2a01e39fe to your computer and use it in GitHub Desktop.

Select an option

Save jan-matejka/1a42f14a8187c6ab1fb821a2a01e39fe to your computer and use it in GitHub Desktop.
[root@blowfish]~# zsh a.zsh
a.zsh:zparseopts:5: missing option descriptions
[root@blowfish]~# cat a.zsh
#!/bin/zsh
declare -a args
zparseopts -a args -local
echo $args
[root@blowfish]~# zsh --version
zsh 4.3.11 (x86_64-redhat-linux-gnu)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment