Age | Commit message (Collapse) | Author |
|
|
|
Fixes a few minor bugs as well with flags which take arguments but for
which the values can never be known.
|
|
Resolves the TODO, and also uses compgen's -S flag to append the
trailing equals, rather than relying on an array-wide parameter
expansion.
Suggested-by: Ran Benita <ran234@gmail.com>
|
|
Avoids leaking the 'i' variable to the user's shell session.
|
|
|
|
|
|
|
|
This adds completion for the new -F, --field flag, but also uses this
option directly from journalctl to complete values for fields which
might be used as filters.
|
|
Use spaces for indentation instead of tabs.
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=50402
|
|
If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.
|
|
Use 'read -r' everywhere to consider backslashes as parts of the input line.
Single-quote the arguments to 'compgen -W' to avoid immediate expansion.
compgen itself will expand the argument.
Fixes a possible reason for "Failed to issue method call: Unknown unit"
after requesting completion.
https://bugzilla.redhat.com/show_bug.cgi?id=814966
|
|
|