[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rm --p
From: |
Eric Blake |
Subject: |
rm --p |
Date: |
Sat, 03 Dec 2005 14:11:42 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
$ rm --p
rm: option `--p' is ambiguous
Try `rm --help' for more information.
Yet `rm --help' only mentions --preserve-root, since --presume-input-tty
is intentionally undocumented. Is there a slick way to tell getopt_long
that a particular option must not be abbreviated, and therefore that it
cannot be ambiguous with other options that can be abbreviated? It boils
down to the fact that for all undocumented long options, we don't want to
be accepting abbreviations or confusing the user with false reports of
ambiguous options.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDkgoO84KuGfSFAYARAjC+AKCwtQJD/4U8rQFudfA5xIQjjejGXgCeLd4c
DC5p8/gJr+LEdc6z1bozTZ0=
=+szm
-----END PGP SIGNATURE-----