Add.
[libidn.git] / src / idn.ggo
blob5fe59c699b11c4d164b83f677db630391b00a54f
1 # Copyright (C) 2003, 2004 Simon Josefsson.
3 # This file is part of GNU Libidn.
5 # GNU Libidn is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2.1 of
8 # the License, or (at your option) any later version.
10 # GNU Libidn is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with GNU Libidn; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 purpose "Command line interface to the internationalized domain name library.
21 All strings are expected to be encoded in the preferred charset used
22 by your locale.  Use `--debug' to find out what this charset is.  You
23 can override the charset used by setting environment variable CHARSET.
25 To process a string that starts with `-', for example `-foo', use `--'
26 to signal the end of parameters, as in `idn --quiet -a -- -foo'."
28 option "stringprep" s "Prepare string according to nameprep profile" no
29 option "punycode-decode" d "Decode Punycode" no
30 option "punycode-encode" e "Encode Punycode" no
31 option "idna-to-ascii"   a "Convert to ACE according to IDNA (default)" no
32 option "idna-to-unicode" u "Convert from ACE according to IDNA" no
33 option "allow-unassigned" - "Toggle IDNA AllowUnassigned flag" flag off
34 option "usestd3asciirules" - "Toggle IDNA UseSTD3ASCIIRules flag" flag off
35 option "tld" t "Check string for TLD specific rules\nOnly for --idna-to-ascii and --idna-to-unicode" flag on
36 option "profile" p "Use specified stringprep profile instead\nValid stringprep profiles are `Nameprep', `iSCSI', `Nodeprep', `Resourceprep', `trace', and `SASLprep'." string no
37 option "debug" - "Print debugging information" flag off
38 option "quiet" - "Silent operation" flag off