aboutsummaryrefslogtreecommitdiffstats
path: root/bash-completion/wipefs
AgeCommit message (Collapse)AuthorFilesLines
2025-06-03bash-completion: prefix "command" to other external commandsKoichi Murase1-1/+1
2025-06-02bash-completion: prefer "command lsblk" to "lsblk" to avoid aliasesKoichi Murase1-1/+1
The user may define an alias lsblk to specify the default formatting, such as -T, which would conflict with lsblk -r used in the Bash completion settings. In the Bash completion settings, to prevent the calls of lsblk -r ... from being replaced with lsblk -T -r ... and failing, lsblk should be called using command lsblk.
2024-01-02wipefs: allow storage of backups in specific locationThomas Weißschuh1-0/+4
This also avoids cluttering the home directory during test execution. Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2020-06-15bash-completion: release preparationsSami Kerola1-0/+1
6e103c7690fe blkzone: Add --force option 9cd88771ef45 fdisk: add --lock and LOCK_BLOCK_DEVICE 921ceaca31bd wipefs: add --lock and LOCK_BLOCK_DEVICE c3ef1268a0b4 sfdisk: add --lock and LOCK_BLOCK_DEVICE b8671fe76370 mkswap: add --lock and LOCK_BLOCK_DEVICE ec8f712157fe cfdisk: add --lock and LOCK_BLOCK_DEVICE f2229320a9f7 fdisk: add --noauto-pt 7f1f0584c24a nsenter: add support for the time namespace dd52c4fa011d lsirq: add -n option ee5a16025046 sfdisk: add --relocate command 99d78b2fefe3 fdisk: add --list-details 65e27d545cb5 sfdisk: add --disk-id to change disk UUID/ID 34fed3ff1740 blkdiscard: use O_EXCL, add --force Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2019-09-19bash-completion: Add fallback for symlinks/imagesKevin Locke1-0/+1
For commands which support operating on files (i.e. disk images), it is desirable for bash-completion to complete matching file names. It is also desirable to complete on block device symlinks (e.g. under /dev/disk). To complete common use cases, often on canonical device names, continue to try completion using canonical device names, then fall back to matching any file incrementally as Bash does by default.[1] [1]: https://github.com/karelzak/util-linux/issues/842#issuecomment-523450243 Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2017-09-18bash-completion: update uuidgen, wipefs, tunelp, setpriv, and hwclockSami Kerola1-1/+18
uuidgen: Add hash-based UUIDs to bash-completion. These were added in commit c6f1ec68a8b38863efff2a18e30b7272db4fb273. wipefs: Command started to use libsmartcols, and it got some new options. Commit d9921b2a128f17aa9a9a110444d5faa43e1b371c. rename: New option was added in commit fabb90676af89bcb5f429793746f141c0. tunelp: The --trust-irq was removed it being years broken. Commit d52eb4bd9062081c8420b22c029c694f29d036c7. setpriv: Add --ambient-caps option from commit 0c92194eeee9c1fd58580ef852. In same go fix 'bash set -u' issue, that is the same as mentioned commit abbcec4fc9c8d7fb835b4eafd1bc9d82acbf0056. hwclock: For some reason --get has always been missing from this file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-04-17bash-completion: update misc-utilsSami Kerola1-1/+12
fincore: Add RES column to --output completions. Commit: e4e8b57be2b63fed82647e4d5efd0e0eaf36b19e findfs: Commit: 940817b736bceccca9be6b9b73e4dd7da0d89142 logger: Add --socket-errors [1] and --tcp [2] options. Commit [1]: d77dc29e6e18d39b1845282e8039ac7117f3bd1c Commit [2]: 68265d070d3041d16ab074ba25c610d6ef6c842e lsblk: Add HOTPLUG [1], SERIAL [2], and SUBSYSTEMS [3] output fields. Add --json [4], --output-all [5], and --paths [6] options. Commit [1]: 483987c275e461f4118a89d3be013698845d702b Commit [2]: 460c7afb79075bd5b39e7d4bc153aa41c939bab3 Commit [3]: 7f14ee1b551e839a4ae081c8d2b7633ca40a5823 Commit [4]: 4a102a4871fdb415f4de5af9ffb7a2fb8926b5d1 Commit [5]: 1b4d2a4a4aa7df52033d293f26cd4fa79f95578d Commit [6]: c7e76cd145b0c40e1d346203f3222f5937146939 lslocks: Add --noinaccessible option. Remove file argument completion, this command does not use that sort of command line input. Commit: f29bc6e1cc4ed9f76bded543c6ab393f674ec3ed mcookie: Add --max-size option. Commit: f7bac5731bf559216aa2f0e8be1d7f477e7cf41a wipefs: Add --backup option. Commit: 7e658c15a2c1fc5092a790afbe7d9d395d04b098 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-10-31bash-completion: stop being clever when listing block devicesSami Kerola1-3/+1
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>
2013-04-08bash-completion: Don't offer short options where corresponding long one exists.Ville Skyttä1-1/+1
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: Don't offer any more completions after help or version.Ville Skyttä1-1/+3
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-05bash-completion: rename shell-completion -> bash-completionKarel Zak1-0/+32
Signed-off-by: Karel Zak <kzak@redhat.com>