summaryrefslogtreecommitdiffstats
path: root/misc-utils/getopt.c
Commit message (Expand)AuthorAgeFilesLines
* misc: consolidate version printing and close_stdout()Karel Zak2019-04-161-5/+5
* misc: consolidate macro style USAGE_HELP_OPTIONSRuediger Meier2017-06-291-1/+1
* misc: introduce print_usage_help_options()Ruediger Meier2017-06-271-2/+1Star
* flock, getopt: write --help to stdout and return 0Ruediger Meier2017-06-261-25/+23Star
* misc: add static keyword to where needed [smatch scan]Sami Kerola2017-02-201-2/+2
* getopt: be sure that options array is terminatedKarel Zak2016-10-211-8/+11
* include/closestream: define exit codesKarel Zak2016-08-161-0/+1
* getopt: keep pointer to 'name' in control structKarel Zak2016-04-221-10/+7Star
* getopt: fix memory leaks and integer overflows [ASAN & valgrind]Sami Kerola2016-04-201-7/+18
* getopt: make sure setprogname provided by non-Linux systemKarel Zak2016-04-041-1/+1
* getopt: fix -n name for BSDRuediger Meier2016-03-071-2/+9
* textual: add a docstring to most of the utilitiesBenno Schulenberg2015-01-061-0/+3
* textual: do not start option descriptions with a capitalBenno Schulenberg2014-12-191-14/+14
* getopt: cleanup add_log_options()Karel Zak2014-12-091-6/+9
* getopt: rename function to keep code readableKarel Zak2014-12-091-6/+6
* getopt: fix compiler warningKarel Zak2014-12-091-1/+1
* getopt: avoid re-terminating long_option list at every updateSami Kerola2014-12-081-11/+10Star
* getopt: change --shell argument parsing functionSami Kerola2014-12-081-12/+10Star
* getopt: prefer switch-case rather than long if statementSami Kerola2014-12-081-27/+37
* getopt: remove unnecessary codeSami Kerola2014-12-081-9/+1Star
* getopt: make normalize() print stringsSami Kerola2014-12-081-14/+12Star
* getopt: use xstrdup rather than malloc + strcpySami Kerola2014-12-081-12/+5Star
* getopt: add struct getopt_control and remove global variablesSami Kerola2014-12-081-81/+83
* getopt: remove function prototypesSami Kerola2014-12-081-10/+0Star
* getopt: make nonoptions optstring comment correctSami Kerola2014-12-081-2/+2
* getopt: sync with 1.1.6 releaseSami Kerola2014-12-081-4/+17
* textual: use usage() text element macrosSami Kerola2014-10-011-7/+5Star
* textual: use manual tail usage() macroSami Kerola2014-10-011-0/+1
* getopt: fix usage() typo unquote -> unquotedKarel Zak2013-04-051-1/+1
* getopt: fix normalize() usage [coverity scan]Karel Zak2013-03-271-1/+1
* textual: spell and encode the name of Arkadiusz Miƛkiewicz correctlyBenno Schulenberg2013-02-061-1/+1
* textual: use UTIL_LINUX_VERSION everywhereKarel Zak2013-01-251-3/+1Star
* getopt: make the code more readable for analysersKarel Zak2012-09-071-1/+1
* build-sys: move getopt to misc-utils/Karel Zak2012-06-261-0/+458