wmmoonclock: add autogen.
[dockapps.git] / wmget / config.def
blob21a6f576b35639d46bd80e136517568bf7c83bf4
1 /*
2 wmget - A background download manager as a Window Maker dock app
3 Copyright (c) 2001-2003 Aaron Trickey <aaron@amtrickey.net>
5 Permission is hereby granted, free of charge, to any person
6 obtaining a copy of this software and associated documentation files
7 (the "Software"), to deal in the Software without restriction,
8 including without limitation the rights to use, copy, modify, merge,
9 publish, distribute, sublicense, and/or sell copies of the Software,
10 and to permit persons to whom the Software is furnished to do so,
11 subject to the following conditions:
13 The above copyright notice and this permission notice shall be
14 included in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 ********************************************************************
25 config.def - Definition of the command line and RC file settings
27 This file is #included in multiple places in the source code, each
28 of which interprets it by providing a different #define for the
29 macros used here. Each macro takes the following parameters:
32 '<char|\0>', <-- short opt character, \0 for none
33 name, <-- option name (*)
34 yes|no, <-- has argument?
35 "documentation" <-- provided in help
38 (*): These are composed to produce RC file keywords, long
39 command-line options, and internal C identifiers. Write them as C
40 identifiers (they'll be prefixed, don't worry about collision with
41 keywords or other symbols), not as quoted strings.
44 O( 's', silent, no, "Suppress any non-error messages" )
45 O( 'V', verbose, no, "Produce verbose output (debugging only)" )
46 O( 'o', output, yes,"Where to save the downloaded file" )
47 O( 'd', display, yes,"The text to display in the progress bar" )
48 O( 'O', overwrite, no, "Allow overwriting an existing file?" )
49 O( 'C', continue, no, "Continue a previously-aborted download" )
50 O( 'a', auth, yes,"USERNAME:PASSWORD for server" )
51 O( 'p', proxy, yes,"Specify an HTTP proxy server" )
52 O( 'P', proxy_auth, yes,"USERNAME:PASSWORD for HTTP proxy" )
53 O( 'f', follow, yes,"How many HTTP redirects to follow (0 = off)" )
54 O( 'U', user_agent, yes,"User-Agent to provide to Web servers" )
55 O( 'B', ascii, no, "Force FTP downloads to be ASCII-mode" )
56 O( 'e', referer, yes,"Set the referer URL passed to the HTTP server")
57 O( 'n', interface, yes,"Use this network interface (e.g. eth0)" )
58 O( 'h', headers, no, "Include the HTTP response header in the file" )
62 /* vim: set filetype=c: */