docs: File completion can indeed be enabled again

[ci skip]
This commit is contained in:
Fabian Homborg 2019-12-10 19:03:44 +01:00
parent 8a5eda3e9b
commit eb7837113f

View File

@ -483,11 +483,10 @@ As a simple example, here's an excerpt of the completions for systemd's ``timeda
# Disable file completions for the entire command
# because it does not take files anywhere
# Note that this can't be undone,
# so it's often better to only disable it for certain completions.
# Note that this can be undone by using "-F".
#
# File completions also need to be disabled
# if you wish to offer a certain set of files (e.g. just directories).
# if you want to have more control over what files are offered (e.g. just directories, or just files ending in ".mp3").
complete -c timedatectl -f
# This line offers the subcommands