summaryrefslogtreecommitdiff
path: root/bash-completion
AgeCommit message (Collapse)AuthorFilesLines
2013-10-22cal: added -w|--week for showing week numbersTommi Kyntola1-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>
2013-10-11Revert "blockdev: Remove the --setbsz (set blocksize) option which has never ↵Karel Zak1-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>
2013-10-08blockdev: Remove the --setbsz (set blocksize) option which has never worked.Richard W.M. Jones1-6/+1
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>
2013-09-30bash-completion: use '\n' as IFS when ask for filenamesKarel Zak46-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>
2013-09-20bash-completion: fix typos in mkfs.bfs logicMike Frysinger1-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>
2013-08-12last: merge sysvinit last/lastbOndrej Oprala1-1/+1
Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-06-07docs: add lscpu max mhz to manual and bash completionSami Kerola1-1/+2
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-05-20cfdisk: add long options to the commandSami Kerola1-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>
2013-04-26hexdump: add long options to the commandSami Kerola1-5/+17
Includes update to bash completion, and manual as well. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-26utmpdump: add option to write to a fileSami Kerola1-1/+1
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-26bash-completion: add mount and umountSami Kerola2-0/+147
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-10build-sys: make wall optional in bash-completionKarel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10build-sys: add --disable-fdformatKarel Zak1-2/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10build-sys: add --disable-bfsKarel Zak1-1/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10build-sys: add --disable-cytuneKarel Zak1-1/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10bash-completion: add swapoffBernhard Voelker1-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>
2013-04-09bash-completion: swapon: add options and fix argumentSami Kerola1-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>
2013-04-09bash-completion: setarch: use correct list for architecturesSami Kerola1-8/+1
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-04-08bash-completion: Symlink runuser symlink to su so it gets loaded on demand.Ville Skyttä1-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]
2013-04-08bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä74-462/+461
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>
2013-04-08bash-completion: Avoid some unnecessary subshells.Ville Skyttä7-12/+12
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08bash-completion: Don't offer any more completions after help or version.Ville Skyttä87-23/+353
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-05build-sys: add --disable-bash-completionKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-05bash-completion: rename shell-completion -> bash-completionKarel Zak91-0/+3413
Signed-off-by: Karel Zak <kzak@redhat.com>