zsh-workers
 help / color / mirror / code / Atom feed
* long/short options
@ 2001-07-12 16:01 Andrej Borsenkow
  2001-07-13  8:07 ` Sven Wischnowsky
  0 siblings, 1 reply; 10+ messages in thread
From: Andrej Borsenkow @ 2001-07-12 16:01 UTC (permalink / raw)
  To: ZSH Workers Mailing List

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-07-19  8:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-12 16:01 long/short options Andrej Borsenkow
2001-07-13  8:07 ` Sven Wischnowsky
2001-07-13 17:01   ` Bart Schaefer
2001-07-16  7:14     ` Sven Wischnowsky
2001-07-18 13:07       ` PATCH: " Sven Wischnowsky
2001-07-18 13:46         ` Andrej Borsenkow
2001-07-18 13:51           ` Sven Wischnowsky
2001-07-18 13:59             ` Andrej Borsenkow
2001-07-18 17:20         ` Oliver Kiddle
2001-07-19  8:36           ` Sven Wischnowsky

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).