File: idn.ggo

package info (click to toggle)
libidn 0.6.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,520 kB
  • ctags: 1,515
  • sloc: ansic: 31,525; java: 13,494; cs: 12,385; sh: 9,482; xml: 2,283; perl: 1,868; makefile: 316; lisp: 231; php: 214; sed: 16; python: 9
file content (38 lines) | stat: -rw-r--r-- 2,077 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright (C) 2003, 2004 Simon Josefsson.
#
# This file is part of GNU Libidn.
#
# GNU Libidn is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2.1 of
# the License, or (at your option) any later version.
#
# GNU Libidn is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with GNU Libidn; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

purpose "Command line interface to the internationalized domain name library.

All strings are expected to be encoded in the preferred charset used
by your locale.  Use `--debug' to find out what this charset is.  You
can override the charset used by setting environment variable CHARSET.

To process a string that starts with `-', for example `-foo', use `--'
to signal the end of parameters, as in `idn --quiet -a -- -foo'."

option "stringprep" s "Prepare string according to nameprep profile" no
option "punycode-decode" d "Decode Punycode" no
option "punycode-encode" e "Encode Punycode" no
option "idna-to-ascii"   a "Convert to ACE according to IDNA (default)" no
option "idna-to-unicode" u "Convert from ACE according to IDNA" no
option "allow-unassigned" - "Toggle IDNA AllowUnassigned flag" flag off
option "usestd3asciirules" - "Toggle IDNA UseSTD3ASCIIRules flag" flag off
option "tld" t "Check string for TLD specific rules\nOnly for --idna-to-ascii and --idna-to-unicode" flag on
option "profile" p "Use specified stringprep profile instead\nValid stringprep profiles are `Nameprep', `iSCSI', `Nodeprep', `Resourceprep', `trace', and `SASLprep'." string no
option "debug" - "Print debugging information" flag off
option "quiet" - "Silent operation" flag off