summaryrefslogtreecommitdiffstats
path: root/bash-completion
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: cleanup bash-completion/Karel Zak2014-05-211-154/+170
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add BUILD_CHRTKarel Zak2014-05-211-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* setterm: correct usage() bright color argumentSami Kerola2014-05-191-3/+12
| | | | | | | This has been wrong since commit 2dc8716. The bright is a prefix attribute to other colors. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* setterm: make -msglevel 0 to work as is did earlierSami Kerola2014-05-191-1/+1
| | | | | | | | Commit 3393c136 caused regression. The klogctl() logging range is 1-8, but the value 0 is special according to setterm.1 manual page. It turns on loging, same way as '-msg on' option. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* setterm: remove devfs and /dev/vcsa0 supportSami Kerola2014-05-191-1/+1
| | | | | | | | | The devfs files /dev/vcc/a* does not need to be supported, and vcsa0 has not existed in years if ever. Reference: http://lwn.net/Articles/65197/ Reference: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devices.txt?id=14186fea0cb06bc43181ce239efe0df6f1af260a#n260 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* setterm: recommend long options with double hyphenSami Kerola2014-05-191-52/+52
| | | | | | | | While the -version style options will work for next unknown number of years start moving towards user interface that has way of invoking long options as most of the other commands. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cytune: remove from util-linuxSami Kerola2014-05-122-45/+0Star
| | | | | | | | | | | Assumption is there are not many who need this tool. Whom ever they might be the recommendation is to use the command from old util-linux release. Second reason to removal is difficulty to test hardware specific command when none of the active project members does not seem to have such. Basically the command has reached dead end what comes to maintainability of it. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* logger: allow user to send structured journald messagesSami Kerola2014-03-041-2/+2
| | | | | | | | | | | | | This feature is hopefully mostly used to give MESSAGE_ID labels for messages coming from scripts, making search of messages easy. The logger(1) manual page update should give enough information how to use --journald option. [kzak@redhat.com: - add missing #ifdefs - use xalloc.h] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* fallocate: add --verbose, clean up usage()Karel Zak2014-02-141-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fallocate: Add "--dig-holes" optionRodrigo Campos2014-02-141-1/+1
| | | | | | | | | | This option tries to detect chunk of '\0's and punch a hole, making the file sparse in-place. [kzak@redhat.com: - fix coding style, use xalloc.h and err.h] Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar> Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: added -w|--week for showing week numbersTommi Kyntola2013-10-221-1/+1
| | | | | | | | | | | | Added week numbers both in ISO-6801 and North America numbering. The mode is determined by first day of the week, Monday for ISO and Sunday for North America mode. ISO week numbers are defined as the first Thursday being part of week 1. The North America numbering is defined, at least by gcal, as first Sunday being in the first week. Signed-off-by: Tommi Kyntola <kynde@iki.fi>
* Revert "blockdev: Remove the --setbsz (set blocksize) option which has never ↵Karel Zak2013-10-111-1/+6
| | | | | | | | | | | | | worked." This reverts commit b1555acc2f709ac4f3b1e6c686a11cadb7b04f72. It seems that the option is used by kernel guys to test kernel, so let's keep the option in the blockdev(8) although it's almost useless in userspace. All we need is to improve docs to make things more obvious to end users. Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: Remove the --setbsz (set blocksize) option which has never worked.Richard W.M. Jones2013-10-081-6/+1Star
| | | | | | | | | | | | | | | | | | | This option has never worked. If you try setting the block size on a block device, and then read it using --getbsz, you will see that the block size never changes. The reason for this is because the block size is specific to the current file descriptor opening the block device, so the change of block size only persists for as long as blockdev has the device open, and is lost once blockdev exits. Also the block size is not really used anywhere. Filesystems, for example, have their own idea of block size and ignore this setting completely. (Thanks Masayoshi Mizuma for diagnosing the problem) Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
* bash-completion: use '\n' as IFS when ask for filenamesKarel Zak2013-09-3046-0/+49
| | | | | | | | | | | | The bash completion for more(1) treats the space-separated pieces of filenames as different files. $ touch foo\ bar $ more foo<TAB> bar foo Reported-by: Ángel González <ingenit@zoho.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: fix typos in mkfs.bfs logicMike Frysinger2013-09-201-2/+2
| | | | | | | | There is no "bfs" command. Change this file to match the other mkfs files where we have a "mkfs." prefix. Reported-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* last: merge sysvinit last/lastbOndrej Oprala2013-08-121-1/+1
| | | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: add lscpu max mhz to manual and bash completionSami Kerola2013-06-071-1/+2
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* cfdisk: add long options to the commandSami Kerola2013-05-201-6/+18
| | | | | | | | | Includes update to bash completion, and manual as well. [kzak@redhat.com: - remove <<< syntax from bash-completion script] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: add long options to the commandSami Kerola2013-04-261-5/+17
| | | | | | Includes update to bash completion, and manual as well. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* utmpdump: add option to write to a fileSami Kerola2013-04-261-1/+1
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: add mount and umountSami Kerola2013-04-262-0/+147
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: make wall optional in bash-completionKarel Zak2013-04-101-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-fdformatKarel Zak2013-04-101-2/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-bfsKarel Zak2013-04-101-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add --disable-cytuneKarel Zak2013-04-101-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: add swapoffBernhard Voelker2013-04-101-0/+54
| | | | | | | [kzak@redhat.com: remove short options] Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: swapon: add options and fix argumentSami Kerola2013-04-091-4/+15
| | | | | | | | | The initial bash-completion missed swapon options -L and -U. Use of block device was proposed to be more appropriate than a path to a file. Requested-by: Karel Zak <kzak@redhat.com> References: http://marc.info/?l=util-linux-ng&m=136517310727426&w=2 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: setarch: use correct list for architecturesSami Kerola2013-04-091-8/+1Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: Symlink runuser symlink to su so it gets loaded on demand.Ville Skyttä2013-04-081-0/+7
| | | | | | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com> [kzak@redhat.com: - use '-runuser' in the install hook - use the hook only if runuser is enabled]
* bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä2013-04-0874-462/+461Star
| | | | | | | | | Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Avoid some unnecessary subshells.Ville Skyttä2013-04-087-12/+12
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: Don't offer any more completions after help or version.Ville Skyttä2013-04-0887-23/+353
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* build-sys: add --disable-bash-completionKarel Zak2013-04-051-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-0591-0/+3413
Signed-off-by: Karel Zak <kzak@redhat.com>