From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17467 invoked from network); 12 Jul 2001 16:02:05 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Jul 2001 16:02:05 -0000 Received: (qmail 14199 invoked by alias); 12 Jul 2001 16:01:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15388 Received: (qmail 14187 invoked from network); 12 Jul 2001 16:01:58 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH Workers Mailing List" Subject: long/short options Date: Thu, 12 Jul 2001 20:01:50 +0400 Message-ID: <000601c10aeb$f5cdebb0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006 mount under Cygwin is simple, but every option has a long and short form. Using exclusions I can prevent both to be on command line, but listing looks somewhat ugly: (tty1)% mount -s --binary Completing Windows path Completing option --binary -- Unix line endings LF --cygwin-executable -- all files under mountpoint are cygwin executables --executable -- all files under mountpoint are executables --force -- be silent --text -- (default) DOS line endings CR-LF -X -- all files under mountpoint are cygwin executables -b -- Unix line endings LF -f -- be silent -t -- (default) DOS line endings CR-LF -x -- all files under mountpoint are executables What I'd really like is something like -b, --binary -- Unix line endings ... Or do I miss something and this is already possible? Another question is, in case of '(-c -i --import-old-mounts -p --show-cygdrive-prefix)--change-cygdrive- prefix[cygdrive prefix]:cygdrive prefix (POSIX path):_files -/' I get something like (tty1)% mount --change-cygdrive-prefix -- No matches for: `cygdrive prefix (POSIX path)' or `file' ^^^^^^^^^ How can I prevent the last part (I want description only from option). Oh, and is _files /*(/) the right way to complete absolute pathnames? :-) -andrej