summaryrefslogtreecommitdiffstats
path: root/getopt
Commit message (Collapse)AuthorAgeFilesLines
* docs: use .LGPL extension for file with GNU Lesser LicenseKarel Zak2011-08-311-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetitKarel Zak2011-08-314-461/+0Star
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetit: docs: remove duplicated text docs: require kernel support before accepting use of it docs: note about independent super block structs docs: add libmount & libblkid debug instructions Documentation: add debugging doc arch: start using arch as a usage() example docs: new file Documentation/release-schedule.txt docs: move setuid information from reame to hwclock.8 docs: clean up old readme files docs: copy contributors from legacy files to AUTHORS docs: new file Documentation/howto-man-page.txt docs: new file Documentation/source-code-management.txt docs: new file Documentation/howto-contribute.txt docs: new file Documentation/howto-compilation.txt docs: tell what the Documentation/ is about docs: add usage() howto for contributors docs: Documentation directory added docs: remove README.clear
| * docs: Documentation directory addedSami Kerola2011-08-124-461/+0Star
| | | | | | | | | | | | | | | | Move readme, licence, change log, relese notes and other supplementary files to a Documentation directory. This commit does not change contents of any other but few Makefile.am files. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* | docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* | getopt: use <var> in usage()Karel Zak2011-08-161-4/+4
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | getopt: indent usage()Karel Zak2011-08-161-15/+20
| | | | | | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* | getopt: do not bundle help text lines into a single unwieldy chunkBenno Schulenberg2011-08-161-13/+13
|/ | | | | | | | | | This undoes part of commit 283f8f0256655b73071290b92c58d998e883260a. Help text lines are best gettextized separately, or in small chunks of three to five lines, which are easily managed by translators. Bundling text lines when nothing in those texts changed is discarding translators' work unnecessarily. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* getopt: fix coding styleSami Kerola2011-06-251-178/+186
| | | | | | | | | | | This patch is purely reindentation, spacing, tabing, comment line lenght and so on style fix. The only potential cause of havok is two fixed ambiguous assignments which very likely did not break. indent: getopt.c:147: Warning:old style assignment ambiguity in "=*". Assuming "= *" indent: getopt.c:151: Warning:old style assignment ambiguity in "=*". Assuming "= *" Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: options struct, usage and version outputsSami Kerola2011-06-251-35/+39
| | | | | | | | | | | | | Move commands own option structure from global scope into main(), and make it as read-only. The usage() ouput mechanims is made to look more like other commands. Misleading old version string `getopt (enhanced) 1.1.4' is replaced to look like the other util-linux version outputs. If anyone is relying on identifying the command by that string he should use -T option instead. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: remove unnecessary files from getoptSami Kerola2011-06-254-31/+1Star
| | | | | | | The Linux Software Map (lsm) file is not maintained, and the test scripts where more confusing than advicing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: make user getopt_long parsing to use function pointerSami Kerola2011-06-251-5/+7
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: remove unnecessary free()Sami Kerola2011-06-251-2/+0Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: use xalloc.hSami Kerola2011-06-251-47/+29Star
| | | | | | | The xalloc fix requires exit codes to symbolical refrences to overwrite default value on error. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* getopt: fix gcc warningKarel Zak2011-04-191-1/+0Star
| | | | | | | getopt.c:80:13: warning: ‘set_initial_shell’ declared ‘static’ but never defined Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: add static qualifiersOlivier Mengué2011-04-061-27/+27
| | | | Signed-off-by: Olivier Mengué <dolmen@cpan.org>
* getopt: fix '--unqote' typo in usage textFrancesco Cosoleto2011-02-211-1/+1
| | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt.1: formattingPeter Breitenlohner2009-08-171-159/+181
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* build-sys: rename to _execdirKarel Zak2009-07-041-1/+1
| | | | | | | | | | | | The variable name "usrlibexecdir" is very confusing (because we have /usr/libexec). The "exec" prefix is required for user-defined directories, see http://www.gnu.org/software/hello/manual/automake/The-Two-Parts-of-Install.html#The-Two-Parts-of-Install This patch renames all usr*execdir variables to usr*_execdir. Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: remove useless if-before-free testsKarel Zak2009-02-241-6/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: remove unnecessary ifdefsKarel Zak2008-11-262-11/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: ignore a bunch of generated files, mostly binariesJames Youngman2008-04-141-0/+1
| | | | | Signed-off-by: James Youngman <jay@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: use dist_man_MANS instead of man_MANSStepan Kasal2007-12-171-1/+1
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>
* getopt: fix path to examples in getopt.1Karel Zak2007-11-281-3/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: install example scripts as SCRIPTS, not DATAPeter Breitenlohner2007-11-261-1/+1
| | | | | | | The example scripts should be installed with execute permissions, as for util-linux-2.12r and earlier, i.e., as SCRIPTS and not as DATA Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* manpage typosLaMont Jones2007-07-241-8/+8
| | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-1/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: remove old unused filesKarel Zak2007-06-144-1376/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: make the getopt example directory relative to datadirStepan Kasal2007-05-161-1/+1
| | | | Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: move -D flags to *_CPPFLAGSStepan Kasal2007-05-161-1/+1
| | | | | | | Preprocessor options belong to *_CPPFLAGS; add $(AM_CPPFLAGS) as we want to amend it, not override. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: use dist_example_DATAStepan Kasal2007-05-161-2/+2
| | | | | | "dist_" prefix is more elegant than EXTRA_DIST. Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: add missing filesKarel Zak2007-01-041-0/+3
| | | | | | | This patch add all missing headers, man pages and README files to automake stuff and "make dist-gzip" produces useful tarball now. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove generated autotools stuff from gitKarel Zak2007-01-031-584/+0Star
| | | | | | | The generated autotools stuff shouldn't be maintained by SCM. After check out from git use ./autogen.sh. For more details see README.devel. Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre6 tarball.Karel Zak2006-12-075-8/+15
|
* Imported from util-linux-2.13-pre4 tarball.Karel Zak2006-12-071-0/+2
|
* Imported from util-linux-2.13-pre3 tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.13-pre2 tarball.Karel Zak2006-12-072-101/+40Star
|
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-074-55/+655
|
* Imported from util-linux-2.12k tarball.Karel Zak2006-12-071-2/+2
|
* Imported from util-linux-2.12 tarball.Karel Zak2006-12-0715-0/+2945
|
* Imported from util-linux-2.9i tarball.Karel Zak2006-12-0714-2875/+0Star
|
* Imported from util-linux-2.8 tarball.Karel Zak2006-12-0714-0/+2875