Commit Graph

423 Commits

Author SHA1 Message Date
Karel Zak
ac9b7477d2 whereis: non-ANSI definition [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 16:15:19 +02:00
Karel Zak
f3970c99b7 logger: non-ANSI definition [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 16:13:58 +02:00
Karel Zak
2985e3833b cal: non-ANSI definition [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 16:12:45 +02:00
Karel Zak
54a00b5c79 blkid: potential null derefence [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 16:10:45 +02:00
Karel Zak
84ce5761e9 kill: potential null derefence [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-12 15:40:24 +02:00
Sami Kerola
d4dffe7622 kill: fix issue warned by smatch
misc-utils/procs.c +82 get_pids(52) error: potential null derefence 'pids'.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-09-10 16:55:27 +02:00
Karel Zak
cc69f339c1 whereis: fix gcc warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-31 11:58:01 +02:00
Karel Zak
fa25f2289c Merge branch 'docs-dir' of https://github.com/kerolasa/lelux-utiliteetit
* '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
2011-08-31 11:04:15 +02:00
Karel Zak
4ff826f68a whereis: search in path for binaries only
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-30 11:44:15 +02:00
Davidlohr Bueso
f51be85982 whereis: search in path
Currently this tool only uses the hardcoded paths for looking up strings for
binaries, man pages and source code.  Adding directories found in $PATH makes a
nice little enhancement to support a wider range of lookups.

This feature was also discussed previously here
(http://www.spinics.net/lists/util-linux-ng/msg03429.html)

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-30 11:16:43 +02:00
Karel Zak
9830eca533 lsblk: add note to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-29 11:34:10 +02:00
Benno Schulenberg
449a215fc5 docs: tweak the formatting and wording of several disk-utils man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:47 +02:00
Benno Schulenberg
c5f29f2382 look: adjust the formatting and some wording of the man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:44 +02:00
Benno Schulenberg
62246430f3 docs: also uniformize headers and footers of troff-formatted man pages
Add two spaces as the required third argument of the date line to make
the specified date get used instead of today's date.  Incorporate the
section number into the page title, then use an empty section number,
so that specifying an explicit section/volume name will work.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-29 11:24:39 +02:00
Benno Schulenberg
c48d969b37 uuidd: (man page) alphabetize the options 2011-08-22 10:39:25 +02:00
Benno Schulenberg
50a4a16267 uuidd: (man page) repair the snipped up description of option -T
Also use lower case and no equals sign for option arguments,
return to using normal formatting macros, and indent the example.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-22 10:39:23 +02:00
Benno Schulenberg
232dc924c4 docs: uniformize the header and footer lines in man pages
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>
2011-08-22 10:39:21 +02:00
Karel Zak
4a8962f3a7 build-sys: add --enable-ddate
Don't build this crazy thing by default.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-18 11:50:27 +02:00
Karel Zak
1a29caa317 ddate: fix St. Tib's Day in other languages
old version:
 $ LANG=de_DE.UTF8 ddate 29 2 2008
 St. Tib’s D, 3174 YOLD

new version:
 $ LANG=de_DE.UTF8 ddate 29 2 2008
 St. Tib’s Day, 3174 YOLD

Reported-by: Nick Erdmann <erdmann@date.upb.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-18 11:16:19 +02:00
Karel Zak
2327e2d6d7 blkid: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 17:05:12 +02:00
Karel Zak
dcd16b0fb0 dmesg: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 13:02:00 +02:00
Karel Zak
5c21c6d23e whereis: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:55:26 +02:00
Karel Zak
4469776392 uuidgen: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:51:32 +02:00
Karel Zak
c63a92b828 uuidd: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:48:23 +02:00
Karel Zak
f70e2a11c8 rename: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:36:00 +02:00
Karel Zak
54f0728944 namei: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:33:56 +02:00
Karel Zak
b417b1ee22 mcookie: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:30:26 +02:00
Karel Zak
9815fa86f9 look: cleanup usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:26:56 +02:00
Karel Zak
2da4918695 logger: indent usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:23:15 +02:00
Karel Zak
3e0b9e21af cal: indent usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:16:38 +02:00
Karel Zak
bf0128d631 blkid: indent usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-16 12:12:46 +02:00
Benno Schulenberg
db3f9026f0 logger: improve descriptions on man page, sort the options, add -h and -V
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-16 10:16:44 +02:00
Benno Schulenberg
0050c52917 logger: improve, sort and slice up usage() help text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-16 10:16:38 +02:00
Benno Schulenberg
415b61fc31 findmnt: slice up the help text into manageable chunks
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-16 10:16:37 +02:00
Benno Schulenberg
c321405980 findmnt: improve spelling, wording and order of help text
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-16 10:16:37 +02:00
Petr Uzel
550d855b45 logger: use simple apostrophe instead of multibyte char in logger.1
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-08-15 14:28:03 +02:00
Sami Kerola
f98d4f766e docs: Documentation directory added
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>
2011-08-12 20:19:52 +02:00
Benno Schulenberg
11295cd102 wipefs: change option -v to -V for --version; add it to man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-08 11:58:47 +02:00
Benno Schulenberg
de9501ab10 findmnt: (man page) short option for --timeout is not -t but -w
Additionally make some formatting and spacing tweaks.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-08 11:58:43 +02:00
Benno Schulenberg
19d646f417 cal.c: fix typo ("fistt day") in help text, seize chance to improve it
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-08 11:58:42 +02:00
Petr Uzel
56cdb3f357 look: fix manpage formatting
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-08-08 11:49:41 +02:00
Petr Uzel
b881ebc69a cal: fix manpage formatting
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-08-08 11:49:38 +02:00
Sami Kerola
d1a1e0b716 docs: remove README.namei
Since rewrite (commit c84a633) the readme file has not made sense.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-02 14:30:52 +02:00
Benno Schulenberg
f14f02f581 textual: add some guiding comments for translators
These are picked up by xgettext and put in the POT file.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-02 14:13:44 +02:00
Benno Schulenberg
0149cd8468 uuidd: distinguish between singular and plural in three messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-02 14:13:44 +02:00
Benno Schulenberg
340b3b0a68 wipefs: gettextize one sentence as a whole
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-02 14:13:44 +02:00
Benno Schulenberg
1117f18f8e lsblk: correct mistaken word
Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2011-08-02 14:13:43 +02:00
Karel Zak
525f3c28cb blkid: fix compiler warnings [-Wunused-parameter]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-01 12:48:55 +02:00
Karel Zak
7239b48577 kill: fix compiler warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-01 12:46:25 +02:00
Karel Zak
6e5c0fc224 findmnt: fix compiler warnings [-Wunused-parameter]
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-01 12:44:20 +02:00