summaryrefslogtreecommitdiffstats
path: root/bash-completion/blkid
Commit message (Collapse)AuthorAgeFilesLines
* bash-completion: update options before releaseSami Kerola2019-05-201-0/+1
| | | | | | | | | | blkid: 5e91d5dd716ebc6144bcb0cabb0ec847a678be9e --no-part-details lsblk: dc4662f0e755929de9cbe98b1b343b492fd620f4 --dedup lsblk: 0bd05f5ee4876ffd13c98acd56c2bff9971f28f1 --merge lscpu: 0e86bc8406959d0d56194d4f404b780e6b70caa4 --caches lscpu: 2011528bce58dd31d5ee0287f2367da1f2d6cfa9 --bytes Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: make completions to work when bash set -u is in useSami Kerola2017-07-151-1/+1
| | | | | | | | | | | | | | | User who want to avoid refering to none-existing variables got earlier the following error. $ set -u $ findmnt --output <tab>bash: OUTPUT: unbound variable Here is short explanation of this setting. $ help set -u Treat unset variables as an error when substituting. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* blkid: add long optionsSami Kerola2017-05-031-18/+52
| | | | | | | | | | | | | This change attempts to make tab completion more reasonable by alloging memorizable option names. That also has positive impact to manual page, in which referrals to other options are now easier to understand. All short options are kept exactly as they were to avoid ABI breakage. The only exception is -f option that getopt(3) recognized, but was not found from anywhere else. The -f has been part of blkid since the initial commit. Commit: 51410fc6deb29cae54a2669aafabae6c49f964fc Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: stop being clever when listing block devicesSami Kerola2014-10-311-5/+1Star
| | | | | | | | | | | Various commands such as blkid, cfdisk, fdisk, delpart, and so on listed only partitions and missed for example disks and volume groups. The right thing to do is to list all block devices in all for all commands performing operations with them. This might occasionally list unexpected devices that I think is lesser bad than missing some. Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764488 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* bash-completion: use '\n' as IFS when ask for filenamesKarel Zak2013-09-301-0/+1
| | | | | | | | | | | | 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: Don't offer any more completions after help or version.Ville Skyttä2013-04-081-0/+3
| | | | Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
* bash-completion: rename shell-completion -> bash-completionKarel Zak2013-04-051-0/+64
Signed-off-by: Karel Zak <kzak@redhat.com>