i just installed the nmap network scanner,
and when i try to use it whith the "-script" parameter, it doesn't work:
example:

```
soufiane@soufiane-cvc:/usr/local$ nmap -p143,993 -Pn –script imap-capabilities 127.0.0.1

Starting Nmap 6.40 ( http://nmap.org ) at 2015-09-03 10:07 WEST
Failed to resolve "–script".
Failed to resolve "imap-capabilities".
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000025s latency).
PORT    STATE  SERVICE
143/tcp closed imap
993/tcp closed imaps

Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds

```

i'm using ElementaryOS Freya (ubuntu 12.04 i guess).
any ideas ??

thanks.