Commit Graph

6 Commits

Author SHA1 Message Date
Sami Kerola d092911bcd
bash-completion: update sys-utils
blkdiscard:

	Add --step [1] and --zeroout [2] options.

	Commit [1]: c472a7e35a
	Commit [2]: 7154cc8926

chmem:

	Commit: 30e1ea8ba1

dmesg:

	Add --time-format.

	Commit: babf605d2c

fallocate:

	Add --insert-range [1], --collapse-range [2], --zero-range [3], and
	--posix [4] options.  Also make the options to be in same order as
	usage() output.

	Commit [1]: b439065634
	Commit [2]: 83cc932d74
	Commit [3]: 1fd4f609ee
	Commit [4]: 833f9a7aae
	Command [5]: fallocate --help | awk '/--/ {print "\t\t\t\t" $2}'

flock:

	Add --no-fork option.

	Commit: 703251401c

hwclock:

	Add --udate-drift [1], remove --badyear [2], and use the same
	argument for --date as in manual page[3].

	Commit [1]: f276d71a3e
	Commit [2]: f6374e1fb3
	Commit [3]: cc5ec6936e

ldattach:

	Add --intro-command and --pause.

	Commit: 8596f63914

losetup:

	Add --nooverlap [1], --json [2], --noheadings and --raw [3] options,
	and direct io aka DIO output field [4].

	Commit [1]: 9a94b634a3
	Commit [2]: 4827093d4b
	Commit [3]: 9f56106df6
	Commit [4]: faeef4d2e9

lscpu:

	Add --json [1] and --physical [2] options.  Add DRAWER [3] to output
	fields.

	Commit [1]: 19a5510b96
	Commit [2]: 0d2b5d2a72
	Commit [3]: b3adf6ef66

lsipc:

	Update output columns (earlier field names were almost completely
	incorrect).  Remove --colon-separate and --print0 [1] options.  Add
	--time-format, --bytes, --numeric-perms [2], and --list [3] options.

	Commit [1]: 2a7150ac2e
	Commit [2]: 9d20ffda79
	Commit [3]: 2916afa3f5

lsmem:

	Commit: cad2d1ac92

lsns:

	Add cgroup --type argument.

	Commit: 2b8889c44b

mount:

	Use /proc and kernel module listing for --type argument list.  Some
	of the items in the lists do not make much sense, but this is still
	better than a static list provided by package maintainer.

mountpoint:

	Remove fixme item that was left in place when this completion was
	originally wrote.

nsenter:

	Add --cgroup [1], --setuid, --setgid [2], --preserve-credentials
	[3] and, --all [4] option.

	Commit [1]: f9e7b66dbd
	Commit [2]: 6b9e5bf670
	Commit [3]: e99a6626d6
	Commit [4]: 974cc006f1

rtcwake:

	Add --auto [1], --adjfile [2], and --list-modes [3] options.

	Commit [1]: 49ebda9b89
	Commit [2]: 3a2f3e82bb
	Commit [3]: 43a44bfc6d

setarch:

	Add --list [1] option.

	Commit [1]: 5edb0ea6bb

setsid:

	Add --wait option.

	Commit: 0dde19974b

umount:

	Use /proc and kernel module listing for --type argument list.

unshare:

	Add --cgroup [1], --fork [2], --mount-proc [3], --map-root-user,
	--setgroups [4], and --propagation [5] options.

	Commit [1]: f9e7b66dbd
	Commit [2]: 5088ec338f
	Commit [3]: 6728ca101e
	Commit [4]: fbceefded6
	Commit [5]: f0f22e9c6f

zramctl:

	Add new output fields MEM-LIMIT, MEM-USED, and MIGRATED.

	Commit: bffc9174b8

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2017-04-17 18:26:37 +01:00
Karel Zak ce3e6b15e2 bash-completion: use '\n' as IFS when ask for filenames
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-30 15:49:00 +02:00
Ville Skyttä 0d5b9b8ab1 bash-completion: Don't offer short options where corresponding long one exists.
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-08 17:06:56 +02:00
Ville Skyttä d6b975ef44 bash-completion: Avoid some unnecessary subshells.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08 17:06:53 +02:00
Ville Skyttä d4f9b8d74c bash-completion: Don't offer any more completions after help or version.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2013-04-08 17:06:52 +02:00
Karel Zak 20da58084a bash-completion: rename shell-completion -> bash-completion
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-05 14:58:07 +02:00